extcon: arizona: Fix reset of HPDET after race with removal
authorCharles Keepax <ckeepax@opensource.wolfsonmicro.com>
Thu, 14 Nov 2013 16:18:22 +0000 (16:18 +0000)
committerChanwoo Choi <cw00.choi@samsung.com>
Tue, 7 Jan 2014 02:54:28 +0000 (11:54 +0900)
commita3e00d4bd8011f2fe5100e1a0d3a01cc2afaa187
tree1076c6c4bead6f9e5a6c3f4b53ed343b54ae8570
parentffae24fed8a83afd5682865e0262731eac369a5b
extcon: arizona: Fix reset of HPDET after race with removal

We need to make sure we reset back to our starting state, especially
making sure that we have disabled poll in the register cache.

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