summaryrefslogtreecommitdiff
path: root/drivers/usb/gadget
diff options
context:
space:
mode:
authorDouglas Anderson <dianders@chromium.org>2015-10-14 15:58:27 -0700
committerFelipe Balbi <balbi@ti.com>2015-10-16 14:44:15 -0500
commit4d273c2af0fe4fdc84eef27e4521694dc7992065 (patch)
treeaa2a089e4da05ac54cf9ef44694fe545ae349e3e /drivers/usb/gadget
parent3bbafac83775425d0abb68cf9837ee3ca36adb42 (diff)
usb: dwc2: host: Protect PCGCTL with lock in dwc2_port_resume()
From code inspection, it appears to be unsafe to do a read-modify-write of PCGCTL in dwc2_port_resume(). Let's make sure the spinlock is held around this operation. Acked-by: John Youn <johnyoun@synopsys.com> Signed-off-by: Douglas Anderson <dianders@chromium.org> Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/gadget')
0 files changed, 0 insertions, 0 deletions