]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: msm8916-wcd-analog: Fix MIC BIAS Internal1
authorStephan Gerhold <stephan@gerhold.net>
Sat, 11 Jan 2020 16:40:04 +0000 (17:40 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 13 Jan 2020 15:12:27 +0000 (15:12 +0000)
commit9d454162822f83a969c2789597859710dfc2e358
treecff95293a5701bb75a2441ae534a18fcc78103d7
parente029798640e4f89abe7d37632e54bea3c16e95fc
ASoC: msm8916-wcd-analog: Fix MIC BIAS Internal1

MIC BIAS Internal1 is broken at the moment because we always
enable the internal rbias resistor to the TX2 line (connected to
the headset microphone), rather than enabling the resistor connected
to TX1.

Move the RBIAS code to pm8916_wcd_analog_enable_micbias_int1/2()
to fix this.

Fixes: 6df5921ed9bc ("ASoC: codecs: Add msm8916-wcd analog codec")
Cc: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: Stephan Gerhold <stephan@gerhold.net>
Link: https://lore.kernel.org/r/20200111164006.43074-3-stephan@gerhold.net
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/msm8916-wcd-analog.c