linux/drivers/usb/dwc3
Sebastian Andrzej Siewior c5537ea531 usb: dwc3: debugfs: hold the lock in during mode change
The read and write operation is atomic and we need no locking around
this operations. What we need however is a lock that is held which
ensures that the content of the DWC3_GCTL has not been changed. With
this, the conten may have been change changed after the first but before
our write back.

Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Felipe Balbi <balbi@ti.com>
2011-12-12 11:48:19 +02:00
..
core.c usb: dwc3: add a platform device alias 2011-12-12 11:48:17 +02:00
core.h usb: dwc3: debugfs: add support for changing port mode 2011-12-12 11:48:15 +02:00
debug.h usb: dwc: remove "All rights reserved" statement. 2011-10-04 10:25:52 -07:00
debugfs.c usb: dwc3: debugfs: hold the lock in during mode change 2011-12-12 11:48:19 +02:00
dwc3-omap.c usb: dwc3: add a platform device alias 2011-12-12 11:48:17 +02:00
dwc3-pci.c usb: dwc3: fetch mode of operation from HW 2011-12-12 11:48:11 +02:00
ep0.c usb: dwc3: ep0: handle unexpected XferNotReady events 2011-12-12 11:48:16 +02:00
gadget.c usb: dwc3: calculate number of event buffers dynamically 2011-12-12 11:48:11 +02:00
gadget.h usb: dwc3: move gadget prototypes to core.h 2011-12-12 11:48:13 +02:00
host.c usb: dwc3: add xHCI Host support 2011-12-12 11:48:12 +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