extcon: palmas: Don't miss GPIO events during suspend/resume
authorRoger Quadros <rogerq@ti.com>
Wed, 15 Feb 2017 12:31:29 +0000 (14:31 +0200)
committerChanwoo Choi <cw00.choi@samsung.com>
Thu, 6 Apr 2017 01:55:22 +0000 (10:55 +0900)
commit01944321de3021020886564328684b7603ee216c
tree4f6706775b0fc180a16b648876805ccb7578197d
parent8680b4d1933fbe3349d51a4e1fd4513b12abffed
extcon: palmas: Don't miss GPIO events during suspend/resume

The USB cable state can change during suspend/resume
so be sure to check and update the extcon state.

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