aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/compaction-times.py
diff options
context:
space:
mode:
authorBartosz Golaszewski <[email protected]>2020-04-15 08:23:59 +0000
committerBartosz Golaszewski <[email protected]>2020-04-23 15:55:27 +0000
commit4e1541593017d76cfa04bd666de8e4dbcfe3105d (patch)
treef57ab3f0ec6a8e32977145326d10243003cdb202 /tools/perf/scripts/python/compaction-times.py
parentgpio: pca953x: Fix pca953x_gpio_set_config (diff)
downloadkernel-4e1541593017d76cfa04bd666de8e4dbcfe3105d.tar.gz
kernel-4e1541593017d76cfa04bd666de8e4dbcfe3105d.zip
gpiolib: improve the robustness of watch/unwatch ioctl()
This makes the new ioctl() a bit more robust - we now check if a line is already being watched and return -EBUSY if the user-space tries to start watching it again. Same for unwatch - return -EBUSY if user-space tries to unwatch a line that's not being watched. Fixes: 51c1064e82e7 ("gpiolib: add new ioctl() for monitoring changes in line info") Signed-off-by: Bartosz Golaszewski <[email protected]> Reviewed-by: Linus Walleij <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/compaction-times.py')
0 files changed, 0 insertions, 0 deletions