aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/gpio
diff options
context:
space:
mode:
authorGlenn Langedock <Glenn.Langedock@barco.com>2020-06-17 17:07:21 +0530
committerBartosz Golaszewski <bgolaszewski@baylibre.com>2020-06-24 12:10:09 +0200
commitfdcfec11b215b3bbc9c20240739cf76be921cca1 (patch)
treed2e637aeb3226c1d82fbaf276b2507b24a86a493 /Documentation/devicetree/bindings/gpio
parentgpio: max732x: remove redundant check from probe() (diff)
downloadlinux-dev-fdcfec11b215b3bbc9c20240739cf76be921cca1.tar.xz
linux-dev-fdcfec11b215b3bbc9c20240739cf76be921cca1.zip
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 <Glenn.Langedock@barco.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com> Signed-off-by: Srinivas Neeli <srinivas.neeli@xilinx.com> Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Diffstat (limited to 'Documentation/devicetree/bindings/gpio')
0 files changed, 0 insertions, 0 deletions