]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9daed69440bfa5537efc912eec2acc22570e9efa
tree92cef7aba37788a2e6f82be4c49b007492c01ccd
parentfd1ae436356b2e9a2ccde31092cb05e551975502
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