Merge "ASoC: mbhc-adc: Resolve bcs not enabled for us headset"
This commit is contained in:

committed by
Gerrit - the friendly Code Review server

commit
a33aaa01f5
@@ -870,9 +870,6 @@ correct_plug_type:
|
||||
wrk_complete = false;
|
||||
}
|
||||
}
|
||||
if (mbhc->mbhc_cb->bcs_enable)
|
||||
mbhc->mbhc_cb->bcs_enable(mbhc, true);
|
||||
|
||||
if (!wrk_complete) {
|
||||
/*
|
||||
* If plug_tye is headset, we might have already reported either
|
||||
@@ -906,6 +903,9 @@ report:
|
||||
goto exit;
|
||||
}
|
||||
|
||||
if (mbhc->mbhc_cb->bcs_enable)
|
||||
mbhc->mbhc_cb->bcs_enable(mbhc, true);
|
||||
|
||||
pr_debug("%s: Valid plug found, plug type %d wrk_cmpt %d btn_intr %d\n",
|
||||
__func__, plug_type, wrk_complete,
|
||||
mbhc->btn_press_intr);
|
||||
|
Reference in New Issue
Block a user