summaryrefslogtreecommitdiff
path: root/drivers/extcon/extcon-usb-gpio.c
diff options
context:
space:
mode:
authorCharles Keepax <ckeepax@opensource.wolfsonmicro.com>2017-01-25 09:34:06 +0000
committerChanwoo Choi <cw00.choi@samsung.com>2017-04-06 10:55:19 +0900
commite57bb43c7e346943d73b44d05485aac68d8aff9d (patch)
tree658a5add528ceab0b4849d5c80d09c8e86a5a668 /drivers/extcon/extcon-usb-gpio.c
parentbc9a5c37a5766bbc9d93c15f3bee2a1896dfa9f6 (diff)
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