ASoC: wcd-mbhc: Fix playback pause during lineout insertion
Playback pauses during aux cable insertion as removal of cable is reported followed by insertion. Report removal of current cable only when headset connected to other end of extension cable and not lineout. Change-Id: I08933f4a88493136a518ee72646aa10b1f06eb70 Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
此提交包含在:

提交者
Gerrit - the friendly Code Review server

父節點
d155d7f509
當前提交
c2e5189852
@@ -641,11 +641,12 @@ void wcd_mbhc_report_plug(struct wcd_mbhc *mbhc, int insertion,
|
||||
}
|
||||
mbhc->hph_type = WCD_MBHC_HPH_NONE;
|
||||
mbhc->zl = mbhc->zr = 0;
|
||||
pr_debug("%s: Reporting removal (%x)\n",
|
||||
__func__, mbhc->hph_status);
|
||||
wcd_mbhc_jack_report(mbhc, &mbhc->headset_jack,
|
||||
0, WCD_MBHC_JACK_MASK);
|
||||
|
||||
if (!mbhc->force_linein) {
|
||||
pr_debug("%s: Reporting removal (%x)\n",
|
||||
__func__, mbhc->hph_status);
|
||||
wcd_mbhc_jack_report(mbhc, &mbhc->headset_jack,
|
||||
0, WCD_MBHC_JACK_MASK);
|
||||
}
|
||||
if (mbhc->hph_status == SND_JACK_LINEOUT) {
|
||||
|
||||
pr_debug("%s: Enable micbias\n", __func__);
|
||||
|
新增問題並參考
封鎖使用者