]> git.karo-electronics.de Git - karo-tx-linux.git/commit
usb: dwc3: core: add current_dr_role member
authorRoger Quadros <rogerq@ti.com>
Tue, 4 Apr 2017 08:25:27 +0000 (11:25 +0300)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Tue, 11 Apr 2017 07:58:30 +0000 (10:58 +0300)
commit6b3261a274285916720e91bfbfdb3505555daa76
tree68ba5d32aba4ba46bb016abb488d41fd8543b50e
parentfac323471df6e196b496f94f7ca2047fa1b18387
usb: dwc3: core: add current_dr_role member

We're going to use this member to track which role we're currently
playing, that way we can more easily implement dual-role swap in
upcoming patches.

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