mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-10 06:09:23 -04:00
extcon-madera: remove headphone firstly on plug out
when the 4-pole headset unplug, APM will receive HEADSET remove event. then HADPHONE insert and remove event. this cause unnecessary audo route switch which lead music plyback stuck. if we change order of madera_cable array, we may remove headphone firstly. this can avoid this issue. Change-Id: Icf1af827a3364384b5bc63a8d10dde3a88d38986 Signed-off-by: huangys <huangys@motorola.com> Reviewed-on: https://gerrit.mot.com/1259458 SME-Granted: SME Approvals Granted SLTApproved: Slta Waiver Tested-by: Jira Key Reviewed-by: Guobin Zhang <zhanggb@motorola.com> Submit-Approved: Jira Key
This commit is contained in:
parent
fa2e907f94
commit
8d70153b28
1 changed files with 1 additions and 1 deletions
|
|
@ -63,8 +63,8 @@
|
|||
|
||||
static const unsigned int madera_cable[] = {
|
||||
EXTCON_MECHANICAL,
|
||||
EXTCON_JACK_MICROPHONE,
|
||||
EXTCON_JACK_HEADPHONE,
|
||||
EXTCON_JACK_MICROPHONE,
|
||||
EXTCON_NONE,
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue