diff options
| author | Baek Kyu, Kim <pocj8ur4in@gmail.com> | 2026-10-21 02:26:01 +0900 |
|---|---|---|
| committer | Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com> | 2026-10-22 10:15:50 +0200 |
| commit | 15665047024e30f9c2227563d03034061c99ac2c (patch) | |
| tree | c33fced29b770394a0202ead958eb84088fa3e46 /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | a0fe269293509acdd93b9cfb3f46636f7b91b33a (diff) | |
| download | lwn-15665047024e30f9c2227563d03034061c99ac2c.tar.gz lwn-15665047024e30f9c2227563d03034061c99ac2c.zip | |
gpiolib: Propagate emulated drive errors when setting arrays
gpiod_set_array_value_complex() ignores errors from the open-drain and
open-source emulation helpers. If a direction change fails,
GPIO_V2_LINE_SET_VALUES_IOCTL still reports success, including when
updating a single line.
Return the first emulation error after freeing the temporary bitmaps.
Keep updates already made to earlier lines and stop processing the
remaining lines, as for errors from gpiochip_set_multiple().
Fixes: 8ce258f62f90 ("gpiolib: make value setters have return values")
Signed-off-by:
Link: https://patch.msgid.link/20261020172601.221861-1-pocj8ur4in@gmail.com
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions
