extcon: arizona: Use the micd_clamp for interrupts if it is available
commitff1cb0ed716304e9f7835ecc5f12ad580b0637ea
authorCharles Keepax <ckeepax@opensource.wolfsonmicro.com>
Wed, 16 Sep 2015 09:42:20 +0000 (16 10:42 +0100)
committerChanwoo Choi <cw00.choi@samsung.com>
Tue, 22 Sep 2015 06:28:00 +0000 (22 15:28 +0900)
tree04f5ea24286decfbb2cc6f21356c3628aa1c3003
parenta0ef642849f6319a031f1dcc2fa444d651179131
extcon: arizona: Use the micd_clamp for interrupts if it is available

Currently we only use the microphone clamp IRQ if GPIO5 is being used as
a second jack detection pin. But we should be using it on any system
where the clamp is available. This patch updates the driver to do so.

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