aboutsummaryrefslogtreecommitdiff
path: root/drivers/usb/cdns3/cdns3-debug.h
diff options
context:
space:
mode:
authorGlenn Langedock <[email protected]>2020-06-17 17:07:21 +0530
committerBartosz Golaszewski <[email protected]>2020-06-24 12:10:09 +0200
commitfdcfec11b215b3bbc9c20240739cf76be921cca1 (patch)
treed2e637aeb3226c1d82fbaf276b2507b24a86a493 /drivers/usb/cdns3/cdns3-debug.h
parent8346b92ecddfae624b1dd4631e840fb98f5430cd (diff)
gpio: zynq: protect direction in/out with a spinlock
Fix race condition when changing the direction (in/out) of the GPIO pin. The read-modify-write sequence (as coded in the driver) isn't atomic and requires synchronization (spinlock). Signed-off-by: Glenn Langedock <[email protected]> Signed-off-by: Michal Simek <[email protected]> Signed-off-by: Srinivas Neeli <[email protected]> Signed-off-by: Bartosz Golaszewski <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-debug.h')
0 files changed, 0 insertions, 0 deletions