extcon: arizona: Clear trig_sts bits on all paths
authorCharles Keepax <ckeepax@opensource.wolfsonmicro.com>
Wed, 7 Aug 2013 11:17:14 +0000 (12:17 +0100)
committerChanwoo Choi <cw00.choi@samsung.com>
Fri, 27 Sep 2013 00:37:00 +0000 (09:37 +0900)
commitcb9005d7dacb83ba92f39fe6d2a9c0c06ca50cb3
tree76ff6c7f9c9ddb84fb346c6f936c8479d2cf4002
parentad07d8b489b07510d98773472d2a3023701f88b6
extcon: arizona: Clear trig_sts bits on all paths

We want the trig_sts bits to be cleared in all cases where we consider
the jack detection interrupt to have been handled. Specifically, if a
duplicate detection event was suppressed these bits were not cleared
causing the CODEC to not enter a low power state. This patch clears the
bits on the duplicate detection code path.

Reported-by: Ryo Tsutsui <ryo.tsutsui@wolfsonmicro.com>
Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
drivers/extcon/extcon-arizona.c