extcon: usb-gpio: Don't miss event during suspend/resume
authorRoger Quadros <rogerq@ti.com>
Wed, 15 Feb 2017 12:31:28 +0000 (14:31 +0200)
committerChanwoo Choi <cw00.choi@samsung.com>
Thu, 6 Apr 2017 01:55:21 +0000 (10:55 +0900)
commit8680b4d1933fbe3349d51a4e1fd4513b12abffed
tree2aa18384dc9eda2d1534765673c82f50c2bf72a5
parent98fd079297dd274c15c926a337253675573c5832
extcon: usb-gpio: Don't miss event during suspend/resume

We must check for ID/VBUS changes during resume irrespective
of whether our device wakeup is enabled or not.

Without this we seem to be missing ID/VBUS events after
system suspend/resume.

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