linux/drivers/usb/dwc3
Sebastian Andrzej Siewior 3140e8cbfe usb: dwc3: use a helper function for operation mode setting
There are two where need to set operational mode:
- during initialization while we decide to run in host,device or DRD
  mode
- at runtime via the debugfs interface.

This patch provides a new function which sets the operational mode and
moves its initialiation to the mode switch instead in the gadget code
itself.

Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Felipe Balbi <balbi@ti.com>
2011-12-12 11:48:26 +02:00
..
core.c usb: dwc3: use a helper function for operation mode setting 2011-12-12 11:48:26 +02:00
core.h usb: dwc3: use a helper function for operation mode setting 2011-12-12 11:48:26 +02:00
debug.h usb: dwc: remove "All rights reserved" statement. 2011-10-04 10:25:52 -07:00
debugfs.c usb: dwc3: use a helper function for operation mode setting 2011-12-12 11:48:26 +02:00
dwc3-omap.c usb: dwc3: omap: add multiple instances support to OMAP 2011-12-12 11:48:23 +02:00
dwc3-pci.c usb: dwc3: move dwc3 device ID bitmap to core.c 2011-12-12 11:48:21 +02:00
ep0.c usb: dwc3: ep0: don't use ep0in for transfers 2011-12-12 11:48:25 +02:00
gadget.c usb: dwc3: use a helper function for operation mode setting 2011-12-12 11:48:26 +02:00
gadget.h usb: dwc3: move gadget prototypes to core.h 2011-12-12 11:48:13 +02:00
host.c usb: dwc3: host: remove unused includes 2011-12-12 11:48:19 +02:00
io.h usb: dwc: remove "All rights reserved" statement. 2011-10-04 10:25:52 -07:00
Kconfig usb: dwc3: depend on both Host and Gadget stacks 2011-12-12 11:48:14 +02:00
Makefile usb: dwc3: always compile gadget side too 2011-12-12 11:48:13 +02:00