usb: dwc3: omap: don't miss events during suspend/resume
authorRoger Quadros <rogerq@ti.com>
Mon, 22 Jan 2018 13:01:42 +0000 (15:01 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 25 May 2018 14:13:00 +0000 (16:13 +0200)
commit7a1edc325506d2671429e27753a29fc829847858
tree34de8cc42dbb68a1d94edca5b6885c4ec0287b83
parentc6a43f20ff3e1e7fdfba7e12d17ba1898e5421bf
usb: dwc3: omap: don't miss events during suspend/resume

[ Upstream commit c49f63055e252810e5d6c83a4943b18db16b3cd8 ]

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: Felipe Balbi <felipe.balbi@linux.intel.com>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/dwc3/dwc3-omap.c