commit | 4d273c2af0fe4fdc84eef27e4521694dc7992065 | [log] [tgz] |
---|---|---|
author | Douglas Anderson <dianders@chromium.org> | Wed Oct 14 15:58:27 2015 -0700 |
committer | Felipe Balbi <balbi@ti.com> | Fri Oct 16 14:44:15 2015 -0500 |
tree | aa2a089e4da05ac54cf9ef44694fe545ae349e3e | |
parent | 3bbafac83775425d0abb68cf9837ee3ca36adb42 [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>