]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: Intel: byt-max98090: Do not change speaker and DMIC with jack state
authorJarkko Nikula <jarkko.nikula@linux.intel.com>
Mon, 23 Jun 2014 13:29:41 +0000 (16:29 +0300)
committerMark Brown <broonie@linaro.org>
Tue, 24 Jun 2014 15:21:36 +0000 (16:21 +0100)
commit79a5ffd1e3d534adaf8383f9c8ad5bbdb6c42270
tree4af30de3c8c5b8ade98c76b5f4f6003c7544d92a
parent35085abe32cafacf426e7b7d3d7de8184b532699
ASoC: Intel: byt-max98090: Do not change speaker and DMIC with jack state

Kernel should not enable/disable speakers and digital microphone whenever
jack is inserted/removed. This is more use-case than kernel specific
decision. For instance one may want to play VoIP ring tones using both
speakers and headphone but play music only from one of them.

Because of above reason remove "Ext Spk" and "Int Mic" update when jack
state is changed. Also this update was illogical anyway: "Ext Spk" was
enabled when jack was inserted and disabled when jack was removed.

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