]> git.karo-electronics.de Git - linux-beck.git/commit
ASoC: Intel: Skylake: Fix support for multiple pins in a module
authorJeeja KP <jeeja.kp@intel.com>
Tue, 27 Oct 2015 00:22:49 +0000 (09:22 +0900)
committerMark Brown <broonie@kernel.org>
Mon, 16 Nov 2015 10:08:09 +0000 (10:08 +0000)
commit4f7457089df2984aeee59ec01525aa9917e889e7
treebb528b3e932d6cd49bd9a6d396b5fa5922c5fa93
parentb30c275e449ac1c7e149e2138a342c407d8cab3b
ASoC: Intel: Skylake: Fix support for multiple pins in a module

For supporting multiple dynamic pins, module state check is
incorrect. In case of unbind, module state need to be changed to
uninit if all pins in the module is is unbind state.
To handle module state correctly add pin state and use pin
state check to set module state correctly.

Signed-off-by: Jeeja KP <jeeja.kp@intel.com>
Signed-off-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
sound/soc/intel/skylake/skl-topology.h