asoc: wcd-mbhc: disable button current source after removal
After headset removal disable button current source to not have any voltages output in micbias after headset removal from extension cable. Change-Id: I2a751c16c704176381bb26f375aebf351686e911 Signed-off-by: Karthikeyan Mani <kmani@codeaurora.org>
This commit is contained in:

committad av
Gerrit - the friendly Code Review server

förälder
dd3e130abe
incheckning
6bcd94a7ce
@@ -996,6 +996,7 @@ static irqreturn_t wcd_mbhc_adc_hs_rem_irq(int irq, void *data)
|
||||
WCD_MBHC_REG_UPDATE_BITS(WCD_MBHC_ADC_MODE, 0);
|
||||
WCD_MBHC_REG_UPDATE_BITS(WCD_MBHC_ADC_EN, 0);
|
||||
wcd_mbhc_elec_hs_report_unplug(mbhc);
|
||||
WCD_MBHC_REG_UPDATE_BITS(WCD_MBHC_BTN_ISRC_CTL, 0);
|
||||
|
||||
if (hphpa_on) {
|
||||
hphpa_on = false;
|
||||
|
Referens i nytt ärende
Block a user