ipc.c (7ae9fb1b7ecbb5d85d07857943f677fd1a559b18) ipc.c (82f4b383829322a19f91159cdfdaf6437f56dec6)
1// SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause)
2//
3// This file is provided under a dual BSD/GPLv2 license. When using or
4// redistributing this file, you may do so under either license.
5//
6// Copyright(c) 2018 Intel Corporation. All rights reserved.
7//
8// Author: Liam Girdwood <liam.r.girdwood@linux.intel.com>

--- 155 unchanged lines hidden (view full) ---

164 init_waitqueue_head(&msg->waitq);
165
166 switch (sdev->pdata->ipc_type) {
167#if defined(CONFIG_SND_SOC_SOF_IPC3)
168 case SOF_IPC:
169 ops = &ipc3_ops;
170 break;
171#endif
1// SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause)
2//
3// This file is provided under a dual BSD/GPLv2 license. When using or
4// redistributing this file, you may do so under either license.
5//
6// Copyright(c) 2018 Intel Corporation. All rights reserved.
7//
8// Author: Liam Girdwood <liam.r.girdwood@linux.intel.com>

--- 155 unchanged lines hidden (view full) ---

164 init_waitqueue_head(&msg->waitq);
165
166 switch (sdev->pdata->ipc_type) {
167#if defined(CONFIG_SND_SOC_SOF_IPC3)
168 case SOF_IPC:
169 ops = &ipc3_ops;
170 break;
171#endif
172#if defined(CONFIG_SND_SOC_SOF_INTEL_IPC4)
172#if defined(CONFIG_SND_SOC_SOF_IPC4)
173 case SOF_INTEL_IPC4:
174 ops = &ipc4_ops;
175 break;
176#endif
177 default:
178 dev_err(sdev->dev, "Not supported IPC version: %d\n",
179 sdev->pdata->ipc_type);
180 return NULL;

--- 55 unchanged lines hidden ---
173 case SOF_INTEL_IPC4:
174 ops = &ipc4_ops;
175 break;
176#endif
177 default:
178 dev_err(sdev->dev, "Not supported IPC version: %d\n",
179 sdev->pdata->ipc_type);
180 return NULL;

--- 55 unchanged lines hidden ---