summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorBartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>2026-11-10 14:47:02 +0100
committerBartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>2026-11-13 11:32:31 +0100
commit7d1d799d6251bc8cd1d5cfc881b0c09060b6b90d (patch)
treee76456d24bed7d78e913470790155c1c8db908b8 /tools/perf/scripts/python
parent8ed87a9adf48703b5729f9d020eb15fa79ffb099 (diff)
gpio: shared: use atomic set_bit() for descriptor flags
Use the atomic set_bit() instead of __set_bit() on desc->flags so that every modification of the field uses atomic bitops. No functional change as these run before any line of the chip can be requested. Cc: stable@vger.kernel.org Fixes: eb374f764a70 ("gpio: provide gpiod_is_shared()") Fixes: a060b8c511ab ("gpiolib: implement low-level, shared GPIO support") Reviewed-by: Kent Gibson <warthog618@gmail.com> Link: https://patch.msgid.link/20261110-gpio-desc-flags-atomic-v3-2-2f463bce8086@oss.qualcomm.com Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions