summaryrefslogtreecommitdiff
path: root/drivers/usb/dwc3/host.c
diff options
context:
space:
mode:
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>2011-10-20 16:43:07 (GMT)
committerFelipe Balbi <balbi@ti.com>2011-12-12 09:48:19 (GMT)
commitc5537ea531d83b7d02ce2d52a5e2b90f526449d0 (patch)
treea003b14a5994ff8df10c4d121b5a9d3b13dd0dbd /drivers/usb/dwc3/host.c
parent7ae4fc4dc835033067096639bd26416b3df744c7 (diff)
downloadlinux-fsl-qoriq-c5537ea531d83b7d02ce2d52a5e2b90f526449d0.tar.xz
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>
Diffstat (limited to 'drivers/usb/dwc3/host.c')
0 files changed, 0 insertions, 0 deletions