Loading sound/soc/codecs/wcd-mbhc-v2.c +9 −0 Original line number Diff line number Diff line Loading @@ -632,6 +632,15 @@ static void wcd_mbhc_report_plug(struct wcd_mbhc *mbhc, int insertion, (mbhc->zr > mbhc->mbhc_cfg->linein_th)) { jack_type = SND_JACK_LINEOUT; mbhc->current_plug = MBHC_PLUG_TYPE_HIGH_HPH; if (mbhc->hph_status) { mbhc->hph_status &= ~(SND_JACK_HEADSET | SND_JACK_LINEOUT | SND_JACK_UNSUPPORTED); wcd_mbhc_jack_report(mbhc, &mbhc->headset_jack, mbhc->hph_status, WCD_MBHC_JACK_MASK); } pr_debug("%s: Marking jack type as SND_JACK_LINEOUT\n", __func__); } Loading Loading
sound/soc/codecs/wcd-mbhc-v2.c +9 −0 Original line number Diff line number Diff line Loading @@ -632,6 +632,15 @@ static void wcd_mbhc_report_plug(struct wcd_mbhc *mbhc, int insertion, (mbhc->zr > mbhc->mbhc_cfg->linein_th)) { jack_type = SND_JACK_LINEOUT; mbhc->current_plug = MBHC_PLUG_TYPE_HIGH_HPH; if (mbhc->hph_status) { mbhc->hph_status &= ~(SND_JACK_HEADSET | SND_JACK_LINEOUT | SND_JACK_UNSUPPORTED); wcd_mbhc_jack_report(mbhc, &mbhc->headset_jack, mbhc->hph_status, WCD_MBHC_JACK_MASK); } pr_debug("%s: Marking jack type as SND_JACK_LINEOUT\n", __func__); } Loading