ASoC: Intel: KMB: Rework disable channel function
authorMichael Sit Wei Hong <michael.wei.hong.sit@intel.com>
Thu, 30 Jul 2020 05:53:17 +0000 (13:53 +0800)
committerMark Brown <broonie@kernel.org>
Thu, 30 Jul 2020 19:13:41 +0000 (20:13 +0100)
commitd13389849caf05d79141d317bdf2f6b318e65f87
tree77f667d9e15c23f26b87d6b424903b51e5e05fc5
parentb81f8df8039e6dca8f9533fe0b549139b907e61f
ASoC: Intel: KMB: Rework disable channel function

All channels are enabled at boot up, this patch ensures that all
channels are disabled at boot and whenever the function is called.

Signed-off-by: Michael Sit Wei Hong <michael.wei.hong.sit@intel.com>
Reviewed-by: Sia Jee Heng <jee.heng.sia@intel.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20200730055319.1522-3-michael.wei.hong.sit@intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/keembay/kmb_platform.c
sound/soc/intel/keembay/kmb_platform.h