usb: dwc3: core: add current_dr_role member
authorRoger Quadros <rogerq@ti.com>
Tue, 4 Apr 2017 08:25:27 +0000 (11:25 +0300)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 20:36:47 +0000 (15:36 -0500)
commited74a466b8a900892f5d11303a3b7903e10dd193
treea44a831d95fe5615b3a177657884076031a59f95
parent6f4790306b4a14f03ab9630cc83d16ae30d3c5bc
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