]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: max98090: Enable both DMIC channels also when using mono configuration
authorJarkko Nikula <jarkko.nikula@linux.intel.com>
Fri, 26 Sep 2014 13:25:37 +0000 (16:25 +0300)
committerMark Brown <broonie@kernel.org>
Sun, 28 Sep 2014 11:03:50 +0000 (12:03 +0100)
commit724effa05896d0e661e08f93e1153dd63545658b
treeff6276ff8eb8ebc4bb8153baa3c9690983077372
parente31ad6c339b2ba9473654e8ad59b9ab16428d73c
ASoC: max98090: Enable both DMIC channels also when using mono configuration

According to MAX98090 specification "Digital microphone clock (DMC) is
enabled once both data channels are enabled.". Therefore both digital
microphone data channels must be enabled also when using mono microphone
configuration.

Fix this by moving "DMICL_ENA" and "DMICR_ENA" supply widgets from "DMICL"
and "DMICR" inputs to "DMIC Mux" in order to enable both data channels
whenever there is active mono or stereo digital microphone input path.

Use of "DMICL" and "DMICR" inputs are retained for informative source and in
case the driver would find use for exact digital microphone configuration in
the future.

Signed-off-by: Jarkko Nikula <jarkko.nikula@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/max98090.c