mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
extcon: arizona: Remove extra jack flip increment
Signed-off-by: Charles Keepax <[email protected]> Signed-off-by: Mark Brown <[email protected]>
This commit is contained in:
parent
bbbd46e3d7
commit
e339af1c45
1 changed files with 0 additions and 2 deletions
|
|
@ -750,8 +750,6 @@ static irqreturn_t arizona_micdet(int irq, void *data)
|
|||
* impedence then give up and report headphones.
|
||||
*/
|
||||
if (info->detecting && (val & 0x3f8)) {
|
||||
info->jack_flips++;
|
||||
|
||||
if (info->jack_flips >= info->micd_num_modes) {
|
||||
dev_dbg(arizona->dev, "Detected HP/line\n");
|
||||
arizona_identify_headphone(info);
|
||||
|
|
|
|||
Loading…
Reference in a new issue