Loading sound/soc/codecs/wcd9xxx-mbhc.c +0 −10 Original line number Original line Diff line number Diff line Loading @@ -328,11 +328,6 @@ static bool __wcd9xxx_switch_micbias(struct wcd9xxx_mbhc *mbhc, 0x04; 0x04; if (!override) if (!override) wcd9xxx_turn_onoff_override(mbhc, true); wcd9xxx_turn_onoff_override(mbhc, true); snd_soc_update_bits(codec, WCD9XXX_A_MAD_ANA_CTRL, 0x10, 0x00); snd_soc_update_bits(codec, WCD9XXX_A_LDO_H_MODE_1, 0x20, 0x00); /* Adjust threshold if Mic Bias voltage changes */ /* Adjust threshold if Mic Bias voltage changes */ if (d->micb_mv != VDDIO_MICBIAS_MV) { if (d->micb_mv != VDDIO_MICBIAS_MV) { cfilt_k_val = __wcd9xxx_resmgr_get_k_val(mbhc, cfilt_k_val = __wcd9xxx_resmgr_get_k_val(mbhc, Loading Loading @@ -394,11 +389,6 @@ static bool __wcd9xxx_switch_micbias(struct wcd9xxx_mbhc *mbhc, if ((!checkpolling || mbhc->polling_active) && if ((!checkpolling || mbhc->polling_active) && restartpolling) restartpolling) wcd9xxx_pause_hs_polling(mbhc); wcd9xxx_pause_hs_polling(mbhc); snd_soc_update_bits(codec, WCD9XXX_A_MAD_ANA_CTRL, 0x10, 0x10); snd_soc_update_bits(codec, WCD9XXX_A_LDO_H_MODE_1, 0x20, 0x20); /* Reprogram thresholds */ /* Reprogram thresholds */ if (d->micb_mv != VDDIO_MICBIAS_MV) { if (d->micb_mv != VDDIO_MICBIAS_MV) { cfilt_k_val = cfilt_k_val = Loading Loading
sound/soc/codecs/wcd9xxx-mbhc.c +0 −10 Original line number Original line Diff line number Diff line Loading @@ -328,11 +328,6 @@ static bool __wcd9xxx_switch_micbias(struct wcd9xxx_mbhc *mbhc, 0x04; 0x04; if (!override) if (!override) wcd9xxx_turn_onoff_override(mbhc, true); wcd9xxx_turn_onoff_override(mbhc, true); snd_soc_update_bits(codec, WCD9XXX_A_MAD_ANA_CTRL, 0x10, 0x00); snd_soc_update_bits(codec, WCD9XXX_A_LDO_H_MODE_1, 0x20, 0x00); /* Adjust threshold if Mic Bias voltage changes */ /* Adjust threshold if Mic Bias voltage changes */ if (d->micb_mv != VDDIO_MICBIAS_MV) { if (d->micb_mv != VDDIO_MICBIAS_MV) { cfilt_k_val = __wcd9xxx_resmgr_get_k_val(mbhc, cfilt_k_val = __wcd9xxx_resmgr_get_k_val(mbhc, Loading Loading @@ -394,11 +389,6 @@ static bool __wcd9xxx_switch_micbias(struct wcd9xxx_mbhc *mbhc, if ((!checkpolling || mbhc->polling_active) && if ((!checkpolling || mbhc->polling_active) && restartpolling) restartpolling) wcd9xxx_pause_hs_polling(mbhc); wcd9xxx_pause_hs_polling(mbhc); snd_soc_update_bits(codec, WCD9XXX_A_MAD_ANA_CTRL, 0x10, 0x10); snd_soc_update_bits(codec, WCD9XXX_A_LDO_H_MODE_1, 0x20, 0x20); /* Reprogram thresholds */ /* Reprogram thresholds */ if (d->micb_mv != VDDIO_MICBIAS_MV) { if (d->micb_mv != VDDIO_MICBIAS_MV) { cfilt_k_val = cfilt_k_val = Loading