diff options
author | Charles Keepax <ckeepax@opensource.wolfsonmicro.com> | 2017-01-25 10:34:06 +0100 |
---|---|---|
committer | Chanwoo Choi <cw00.choi@samsung.com> | 2017-04-06 03:55:19 +0200 |
commit | e57bb43c7e346943d73b44d05485aac68d8aff9d (patch) | |
tree | 658a5add528ceab0b4849d5c80d09c8e86a5a668 /drivers/extcon/extcon-usb-gpio.c | |
parent | Merge branch 'ib-extcon-4.12' into HEAD (diff) | |
download | linux-e57bb43c7e346943d73b44d05485aac68d8aff9d.tar.xz linux-e57bb43c7e346943d73b44d05485aac68d8aff9d.zip |
extcon: arizona: Wait for any running HPDETs to complete on jack removal
As the HPDET can't be aborted mid way through we should not allow any new
insertion to be processed until the previous HPDET has finished. It is very
unlikely but with low enough debounce settings you could start a new HPDET
before the old one has completed, which results in an erroneous reading.
Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Diffstat (limited to 'drivers/extcon/extcon-usb-gpio.c')
0 files changed, 0 insertions, 0 deletions