mirror of
https://github.com/team-infusion-developers/android_kernel_samsung_msm8976.git
synced 2024-11-01 02:21:16 +00:00
Merge "Asoc: wcd: mbhc: Force lineout event report only for headphone"
This commit is contained in:
commit
9c55837161
1 changed files with 2 additions and 1 deletions
|
@ -631,7 +631,8 @@ static void wcd_mbhc_report_plug(struct wcd_mbhc *mbhc, int insertion,
|
|||
mbhc->mbhc_cb->compute_impedance(mbhc,
|
||||
&mbhc->zl, &mbhc->zr);
|
||||
if ((mbhc->zl > mbhc->mbhc_cfg->linein_th) &&
|
||||
(mbhc->zr > mbhc->mbhc_cfg->linein_th)) {
|
||||
(mbhc->zr > mbhc->mbhc_cfg->linein_th) &&
|
||||
(jack_type == SND_JACK_HEADPHONE)) {
|
||||
jack_type = SND_JACK_LINEOUT;
|
||||
mbhc->current_plug = MBHC_PLUG_TYPE_HIGH_HPH;
|
||||
if (mbhc->hph_status) {
|
||||
|
|
Loading…
Reference in a new issue