aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/arm-cs-trace-disasm.py
diff options
context:
space:
mode:
authorAlexander Sverdlin <[email protected]>2024-03-07 21:43:16 +0000
committerBartosz Golaszewski <[email protected]>2024-03-08 09:32:00 +0000
commit8636f19c2d1f8199b27b4559d9caa115b3011f06 (patch)
treed64caa721f6799f2e8c9dbb090abae7f2b019ea1 /tools/perf/scripts/python/arm-cs-trace-disasm.py
parentselftest: gpio: remove obsolete gpio-mockup test (diff)
downloadkernel-8636f19c2d1f8199b27b4559d9caa115b3011f06.tar.gz
kernel-8636f19c2d1f8199b27b4559d9caa115b3011f06.zip
gpio: sysfs: repair export returning -EPERM on 1st attempt
It would make sense to return -EPERM if the bit was already set (already used), not if it was cleared. Before this fix pins can only be exported on the 2nd attempt: $ echo 522 > /sys/class/gpio/export sh: write error: Operation not permitted $ echo 522 > /sys/class/gpio/export Fixes: 35b545332b80 ("gpio: remove gpio_lock") Signed-off-by: Alexander Sverdlin <[email protected]> Signed-off-by: Bartosz Golaszewski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/arm-cs-trace-disasm.py')
0 files changed, 0 insertions, 0 deletions