UPSTREAM: usb: dwc3: omap: Pass VBUS and ID events transparently
authorRoger Quadros <rogerq@ti.com>
Wed, 11 May 2016 14:36:45 +0000 (17:36 +0300)
committerHuang, Tao <huangtao@rock-chips.com>
Tue, 16 Aug 2016 12:48:19 +0000 (20:48 +0800)
commitdf61afdf93f4442d7e1d209b14167dd22c64ef33
treeda24b9e5367d1391bf1bd1cddd833b4d63b11866
parent0b4a26de3aafec1011a5eb2536d39c6052cfa9d8
UPSTREAM: usb: dwc3: omap: Pass VBUS and ID events transparently

Don't make any decisions regarding VBUS session based on ID
status. That is best left to the OTG core.

Pass ID and VBUS events independent of each other so that OTG
core knows exactly what to do.

This makes dual-role with extcon work with OTG irq on OMAP platforms.

Change-Id: I141c03d4127b69530e77cfef3cee5f5b95f6df26
Signed-off-by: Roger Quadros <rogerq@ti.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Signed-off-by: Wu Liang feng <wulf@rock-chips.com>
(cherry picked from commit d2728fb3e01f9265571a5f7a5feeac4493d2a365)
drivers/usb/dwc3/dwc3-omap.c