[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <c9600a0d-46a3-70df-816c-e7c7687f324b@kernel.org>
Date: Sat, 29 Sep 2018 08:25:30 -0500
From: Timur Tabi <timur@...nel.org>
To: Ricardo Ribalda Delgado <ricardo.ribalda@...il.com>
Cc: jhugo@...eaurora.org, swboyd@...omium.org,
LKML <linux-kernel@...r.kernel.org>,
Linus Walleij <linus.walleij@...aro.org>,
linux-gpio@...r.kernel.org
Subject: Re: [PATCH v2] gpiolib: Show correct direction from the beginning
On 9/29/18 8:21 AM, Timur Tabi wrote:
>
>> Is it possible to access the hardware?
>
> Linaro and some Linux OSVs should still have systems, but I usually just
> ask Jeff to test code for me.
Alternatively, you can just add valid_mask support to your driver, and
add a check to your get_direction() function to see if it ever is asked
to access an invalid GPIO.
Powered by blists - more mailing lists