extcon: usb-gpio: Don't miss event during suspend/resume
authorRoger Quadros <rogerq@ti.com>
Mon, 11 Apr 2016 14:04:45 +0000 (17:04 +0300)
committerChanwoo Choi <cw00.choi@samsung.com>
Tue, 21 Jun 2016 05:09:53 +0000 (14:09 +0900)
commit04c080080855ce84dcd490a2e04805608a21085d
tree9702ed2918733ff9315b84c6ae9d7b51d2674dac
parent12bd0f323b855ee548367f48062cf58cae5acda8
extcon: usb-gpio: Don't miss event during suspend/resume

Pin state might have changed during suspend/resume while
our interrupts were disabled and if device doesn't support wakeup.

Scan for change during resume for such case.

Signed-off-by: Roger Quadros <rogerq@ti.com>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
drivers/extcon/extcon-usb-gpio.c