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)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 20:28:11 +0000 (15:28 -0500)
commit8a6e138221bff99f54591f856dce00c2b12ee77a
treee04952b77f7b34a520d1c23b85a54177b7b1b972
parent1ad4f27a77ea8d84b8ec136e998ff6bc2aef9823
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>
(cherry picked from commit 8680b4d1933fbe3349d51a4e1fd4513b12abffed)
drivers/extcon/extcon-usb-gpio.c