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)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Mon, 20 Jun 2016 09:32:47 +0000 (12:32 +0300)
commitd2728fb3e01f9265571a5f7a5feeac4493d2a365
tree92cef7aba37788a2e6f82be4c49b007492c01ccd
parent9ab330bf4dfd677a19d03359af9bc0e168a2c4b2
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.

Signed-off-by: Roger Quadros <rogerq@ti.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/dwc3/dwc3-omap.c