]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: Intel: Skylake: Fix the module state check condition
authorJeeja KP <jeeja.kp@intel.com>
Wed, 3 Feb 2016 12:29:49 +0000 (17:59 +0530)
committerMark Brown <broonie@kernel.org>
Thu, 4 Feb 2016 11:36:14 +0000 (11:36 +0000)
commit332df2e04f1e38df2d2433428d22d7c47112b558
tree7f202cedb5e0477d1d81c32b5776c154909b134a
parent9c9ae5e3dbf7e70a6fc71c566af4aea84fb7f7fe
ASoC: Intel: Skylake: Fix the module state check condition

For binding modules we should check if source or destination
module is in UNINT state. We canot bind even if one of them is
in this state.

So update the check from logical AND to logical OR and do not
bind modules for this case

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