2018-07-09 16:08 GMT+02:00 Linus Walleij linus.walleij@linaro.org:
On Wed, Jun 6, 2018 at 7:44 PM Rafael David Tinoco rafael.tinoco@linaro.org wrote:
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
Patch applied. Sorry for forgetting about it.
Yours, Linus Walleij
Oops somehow I just now noticed it in my inbox. It's too late anyway, but it looks fine for me.
Bart -- To unsubscribe from this list: send the line "unsubscribe linux-kselftest" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html