extcon: arizona: Don't disable debounce for inverted jacks
authorCharles Keepax <ckeepax@opensource.wolfsonmicro.com>
Wed, 16 Sep 2015 09:42:21 +0000 (10:42 +0100)
committerChanwoo Choi <cw00.choi@samsung.com>
Tue, 22 Sep 2015 06:28:00 +0000 (15:28 +0900)
commit6c20b934247875f41fe9bcc74072bb072b4f28d8
tree2186689a488dce236884162427b840ca9454020e
parentff1cb0ed716304e9f7835ecc5f12ad580b0637ea
extcon: arizona: Don't disable debounce for inverted jacks

Whilst the jack is connected we disable the jack detection debounce to
ensure as quick as possible a detection of jack removal. However, it is
only safe to disable the jack debounce whilst the jack is connected if
using the micd clamp or the jack is not inverted. Otherwise spurious
interrupts might be generated when we re-enable the debounce.

Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
drivers/extcon/extcon-arizona.c
This page took 0.038179 seconds and 5 git commands to generate.