From mboxrd@z Thu Jan 1 00:00:00 1970 From: Linus Walleij Subject: Re: [PATCH] selftests: gpio: gpio-mockup-chardev GPIOHANDLE_REQUEST_OUTPUT fix Date: Mon, 9 Jul 2018 16:08:57 +0200 Message-ID: References: <20180606174424.9630-1-rafael.tinoco@linaro.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Return-path: In-Reply-To: <20180606174424.9630-1-rafael.tinoco@linaro.org> Sender: linux-kernel-owner@vger.kernel.org To: Rafael David Tinoco Cc: Bamvor Jian Zhang , Bartosz Golaszewski , shuah@kernel.org, "open list:GPIO SUBSYSTEM" , linux-kselftest@vger.kernel.org, "linux-kernel@vger.kernel.org" List-Id: linux-gpio@vger.kernel.org On Wed, Jun 6, 2018 at 7:44 PM Rafael David Tinoco 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 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 Patch applied. Sorry for forgetting about it. Yours, Linus Walleij From mboxrd@z Thu Jan 1 00:00:00 1970 From: linus.walleij at linaro.org (Linus Walleij) Date: Mon, 9 Jul 2018 16:08:57 +0200 Subject: [PATCH] selftests: gpio: gpio-mockup-chardev GPIOHANDLE_REQUEST_OUTPUT fix In-Reply-To: <20180606174424.9630-1-rafael.tinoco@linaro.org> References: <20180606174424.9630-1-rafael.tinoco@linaro.org> Message-ID: On Wed, Jun 6, 2018 at 7:44 PM Rafael David Tinoco 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 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 Patch applied. Sorry for forgetting about it. Yours, Linus Walleij -- To unsubscribe from this list: send the line "unsubscribe linux-kselftest" in the body of a message to majordomo at vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html From mboxrd@z Thu Jan 1 00:00:00 1970 From: linus.walleij@linaro.org (Linus Walleij) Date: Mon, 9 Jul 2018 16:08:57 +0200 Subject: [PATCH] selftests: gpio: gpio-mockup-chardev GPIOHANDLE_REQUEST_OUTPUT fix In-Reply-To: <20180606174424.9630-1-rafael.tinoco@linaro.org> References: <20180606174424.9630-1-rafael.tinoco@linaro.org> Message-ID: Content-Type: text/plain; charset="UTF-8" Message-ID: <20180709140857.jLPbazQ0pT6qAjwVQTq151dO_7jFaCMvgVH8UsfMoz8@z> On Wed, Jun 6, 2018 at 7:44 PM Rafael David Tinoco 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 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 Patch applied. Sorry for forgetting about it. Yours, Linus Walleij -- To unsubscribe from this list: send the line "unsubscribe linux-kselftest" in the body of a message to majordomo at vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html