Commit a657ae7e authored by Vinod Koul's avatar Vinod Koul Committed by Mark Brown

ASoC: Intel: Skylake: remove module id query at runtime

Now that we have balanced loading of the topology file and split of init
and fw_init and fill module data during asoc probe.

So remove it from runtime, but keep error check in case things fall apart.
Signed-off-by: default avatarVinod Koul <vinod.koul@intel.com>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 64cb1d0a
...@@ -475,12 +475,10 @@ skl_tplg_init_pipe_modules(struct skl *skl, struct skl_pipe *pipe) ...@@ -475,12 +475,10 @@ skl_tplg_init_pipe_modules(struct skl *skl, struct skl_pipe *pipe)
/* check if module ids are populated */ /* check if module ids are populated */
if (mconfig->id.module_id < 0) { if (mconfig->id.module_id < 0) {
ret = snd_skl_get_module_info(skl->skl_sst, mconfig); dev_err(skl->skl_sst->dev,
if (ret < 0) { "module %pUL id not populated\n",
dev_err(skl->skl_sst->dev, (uuid_le *)mconfig->guid);
"query module info failed: %d\n", ret); return -EIO;
return ret;
}
} }
/* check resource available */ /* check resource available */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment