]> git.baikalelectronics.ru Git - kernel.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)
commit971a26489be58824295d454cdb4d26e2fe41b3b3
treebb528b3e932d6cd49bd9a6d396b5fa5922c5fa93
parentdb4c920cc5209ed330cc7e0705101cd78c936145
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