|
@@ -368,7 +368,6 @@ int skl_sst_ctx_init(struct device *dev, int irq, const char *fw_name,
|
|
|
{
|
|
|
struct skl_sst *skl;
|
|
|
struct sst_dsp *sst;
|
|
|
- int ret;
|
|
|
|
|
|
skl = devm_kzalloc(dev, sizeof(*skl), GFP_KERNEL);
|
|
|
if (skl == NULL)
|
|
@@ -388,15 +387,12 @@ int skl_sst_ctx_init(struct device *dev, int irq, const char *fw_name,
|
|
|
sst->dsp_ops = dsp_ops;
|
|
|
init_waitqueue_head(&skl->mod_load_wait);
|
|
|
INIT_LIST_HEAD(&sst->module_list);
|
|
|
- ret = skl_ipc_init(dev, skl);
|
|
|
- if (ret)
|
|
|
- return ret;
|
|
|
|
|
|
skl->is_first_boot = true;
|
|
|
if (dsp)
|
|
|
*dsp = skl;
|
|
|
|
|
|
- return ret;
|
|
|
+ return 0;
|
|
|
}
|
|
|
|
|
|
int skl_prepare_lib_load(struct skl_sst *skl, struct skl_lib_info *linfo,
|