summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/myrb.c
diff options
context:
space:
mode:
authorBartosz Golaszewski <bartosz.golaszewski@linaro.org>2024-10-04 16:43:24 +0200
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>2024-10-08 10:21:46 +0200
commitb7adfb6076ff0c1ebbde56d1903daa3d07db92c5 (patch)
tree7f09c10a96d0462cc2a64c99630ac5ac6ba4ec60 /drivers/scsi/myrb.c
parentfa17f749ee5bc6afdaa9e0ddbe6a816b490dad7d (diff)
downloadlinux-b7adfb6076ff0c1ebbde56d1903daa3d07db92c5.tar.gz
linux-b7adfb6076ff0c1ebbde56d1903daa3d07db92c5.tar.bz2
linux-b7adfb6076ff0c1ebbde56d1903daa3d07db92c5.zip
gpio: cdev: update flags at once when reconfiguring from user-space
Make updating the descriptor flags when reconfiguring from user-space consistent with the rest of the codebase: read the current state atomically, update it according to user's instructions and write it back atomically as well. Reviewed-by: Kent Gibson <warthog618@gmail.com> Link: https://lore.kernel.org/r/20241004-gpio-notify-in-kernel-events-v1-3-8ac29e1df4fe@linaro.org Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Diffstat (limited to 'drivers/scsi/myrb.c')
0 files changed, 0 insertions, 0 deletions