linux/tools/testing/selftests/gpio
Rafael David Tinoco 76411a0d97 gpio: selftests: gpio-mockup-chardev GPIOHANDLE_REQUEST_OUTPUT fix
Following logic from commit: 22f6592b23, GPIOHANDLE_REQUEST_OUTPUT
should handle errors same way as GPIOHANDLE_REQUEST_INPUT does, or else
the following error occurs:

gpio-mockup-chardev: gpio<gpiochip1> line<0> test flag<0x2> value<0>: No
such file or directory

despite the real result of gpio_pin_test(), gpio_debugfs_get() and
gpiotools_request_linehandle() functions.

Signed-off-by: Rafael David Tinoco <rafael.tinoco@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2018-07-09 16:08:17 +02:00
..
.gitignore selftests: gpio add .gitignore for generated files 2017-01-11 09:50:54 -07:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
config selftests: gpio: add config fragment for gpio-mockup 2017-04-21 11:25:41 -06:00
gpio-mockup-chardev.c gpio: selftests: gpio-mockup-chardev GPIOHANDLE_REQUEST_OUTPUT fix 2018-07-09 16:08:17 +02:00
gpio-mockup-sysfs.sh License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
gpio-mockup.sh selftests: gpio: return Kselftest Skip code for skipped tests 2018-05-30 15:21:52 -06:00