summaryrefslogtreecommitdiff
path: root/sound/soc/intel/skylake/skl-topology.h
diff options
context:
space:
mode:
authorVinod Koul <vinod.koul@intel.com>2016-07-26 18:06:40 +0530
committerMark Brown <broonie@kernel.org>2016-08-08 11:54:59 +0100
commitb7c505554c11cc7978ab942b544d86dd92d59dcf (patch)
tree94182c1886cfdf16242fb20c170fdc603bf6408f /sound/soc/intel/skylake/skl-topology.h
parent29b4817d4018df78086157ea3a55c1d9424a7cfc (diff)
ASoC: Intel: Skylake: Move modules query to runtime
Since we are moving DSP init to later, at the topology load the module info is not available. So set the module id to -1 at init and query at first module initialization. Signed-off-by: Senthilnathan Veppur <senthilnathanx.veppur@intel.com> Signed-off-by: Vinod Koul <vinod.koul@intel.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/intel/skylake/skl-topology.h')
-rw-r--r--sound/soc/intel/skylake/skl-topology.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/intel/skylake/skl-topology.h b/sound/soc/intel/skylake/skl-topology.h
index 22d3ef83817d..96fa86d0f93a 100644
--- a/sound/soc/intel/skylake/skl-topology.h
+++ b/sound/soc/intel/skylake/skl-topology.h
@@ -216,7 +216,7 @@ struct skl_module_fmt {
struct skl_module_cfg;
struct skl_module_inst_id {
- u32 module_id;
+ int module_id;
u32 instance_id;
};