Loading asoc/codecs/wcd-mbhc-adc.c +4 −2 Original line number Diff line number Diff line Loading @@ -885,8 +885,10 @@ static void wcd_correct_swch_plug(struct work_struct *work) */ if ((plug_type == MBHC_PLUG_TYPE_HEADSET) || (plug_type == MBHC_PLUG_TYPE_ANC_HEADPHONE)) { pr_debug("%s: plug_type:0x%x already reported\n", __func__, mbhc->current_plug); pr_debug("%s: plug_type:0x%x current_plug: 0x%x already reported\n", __func__, plug_type, mbhc->current_plug); if (mbhc->current_plug != plug_type) goto report; WCD_MBHC_REG_UPDATE_BITS(WCD_MBHC_ADC_MODE, 0); WCD_MBHC_REG_UPDATE_BITS(WCD_MBHC_ADC_EN, 0); goto enable_supply; Loading Loading
asoc/codecs/wcd-mbhc-adc.c +4 −2 Original line number Diff line number Diff line Loading @@ -885,8 +885,10 @@ static void wcd_correct_swch_plug(struct work_struct *work) */ if ((plug_type == MBHC_PLUG_TYPE_HEADSET) || (plug_type == MBHC_PLUG_TYPE_ANC_HEADPHONE)) { pr_debug("%s: plug_type:0x%x already reported\n", __func__, mbhc->current_plug); pr_debug("%s: plug_type:0x%x current_plug: 0x%x already reported\n", __func__, plug_type, mbhc->current_plug); if (mbhc->current_plug != plug_type) goto report; WCD_MBHC_REG_UPDATE_BITS(WCD_MBHC_ADC_MODE, 0); WCD_MBHC_REG_UPDATE_BITS(WCD_MBHC_ADC_EN, 0); goto enable_supply; Loading