linux/drivers/usb/dwc3
Paul Zimmerman 249a456930 usb: dwc3: take lock while modifying flags
dwc3_gadget_ep_set_wedge() and dwc3_gadget_set_selfpowered() were
modifying dwc->flags/dwc->is_selfpowered without taking the lock.
Since those modifications are non-atomic, that could cause other
flags to be corrupted. Fix them both to take the lock.

Signed-off-by: Paul Zimmerman <paulz@synopsys.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
2012-03-02 12:12:10 +02:00
..
core.c usb: dwc3: replace hard-coded constant in DWC3_GCTL_SCALEDOWN(3) 2012-03-02 12:12:06 +02:00
core.h usb: dwc3: replace hard-coded constant in DWC3_GCTL_SCALEDOWN(3) 2012-03-02 12:12:06 +02:00
debug.h usb: dwc: remove "All rights reserved" statement. 2011-10-04 10:25:52 -07:00
debugfs.c usb: dwc3: debugfs: fix off by one when entering testmode 2012-02-10 12:14:53 +02:00
dwc3-exynos.c usb: dwc3: Add Exynos Specific Glue layer 2012-03-02 12:11:28 +02:00
dwc3-omap.c usb: dwc3: linux/module.h included twice 2012-03-02 12:12:00 +02:00
dwc3-pci.c usb: dwc3: pci: fix failure path in dwc3_pci_probe() 2012-03-02 12:12:07 +02:00
ep0.c usb: dwc3: clean up whitespace damage, typos, missing parens, etc. 2012-03-02 12:12:01 +02:00
gadget.c usb: dwc3: take lock while modifying flags 2012-03-02 12:12:10 +02:00
gadget.h usb: dwc3: gadget: re-factor Link state change to a function 2012-02-06 11:48:24 +02:00
host.c usb: dwc3: host: align on host device name 2012-02-06 11:48:42 +02:00
io.h usb: dwc3: fix few coding style problems 2011-12-12 11:48:29 +02:00
Kconfig usb: dwc3: depend on both Host and Gadget stacks 2011-12-12 11:48:14 +02:00
Makefile usb: dwc3: Add Exynos Specific Glue layer 2012-03-02 12:11:28 +02:00