]> 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)
commitfd15f147da57fd138f48c4c1c680cda7b88dbe80
treecff95293a5701bb75a2441ae534a18fcc78103d7
parent61047143f6fe1ee9e0ffba83d2bbac6667c3a931
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: 1e90dab1850e ("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