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:17:36 +0000 (16:17 +0200)
commitaefc5ce2342a91235149e6cfeccdb44c31776c1b
tree89466b92c52acc03bcf6550bd9a04bddee7392ad
parente8f101ec20c09be9f8635ac053bd2a5dff22482c
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