ASoC: Intel: Skylake: Move modules query to runtime
authorVinod Koul <vinod.koul@intel.com>
Tue, 26 Jul 2016 12:36:40 +0000 (18:06 +0530)
committerMark Brown <broonie@kernel.org>
Mon, 8 Aug 2016 10:54:59 +0000 (11:54 +0100)
commitb7c505554c11cc7978ab942b544d86dd92d59dcf
tree94182c1886cfdf16242fb20c170fdc603bf6408f
parent29b4817d4018df78086157ea3a55c1d9424a7cfc
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>
sound/soc/intel/skylake/skl-topology.c
sound/soc/intel/skylake/skl-topology.h