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)
commit473a4d516cfe6d0668cf7223aa3002ae8367349b
tree9ac233231371be3f58664b79c9de02a501e8a361
parentfdd85a054b850db43c6abe39c1da28b581be5e93
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