]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: Intel: Skylake: Fix module state after unbind and delete
authorJeeja KP <jeeja.kp@intel.com>
Fri, 24 Mar 2017 17:40:33 +0000 (23:10 +0530)
committerMark Brown <broonie@kernel.org>
Wed, 29 Mar 2017 11:53:43 +0000 (12:53 +0100)
commit67460935b398941f7a2a6af1f15106219104270b
tree9ac233231371be3f58664b79c9de02a501e8a361
parent3b376a84874ccf1935c6ff668be5090e9cbd23d9
ASoC: Intel: Skylake: Fix module state after unbind and delete

When DSP module is unbound, the module state needs to be in INIT_DONE
state instead of UNINT. Also the state needs to be set to UNINIT after
module is deleted from DSP pipeline.

So, set the module state to INIT_DONE after unbind and then UNINIT after
module is deleted.

Signed-off-by: Jeeja KP <jeeja.kp@intel.com>
Acked-by: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/skylake/skl-messages.c
sound/soc/intel/skylake/skl-topology.c