Messages in this thread | | | Subject | Re: [PATCH v2] gpiolib: Show correct direction from the beginning | From | Timur Tabi <> | Date | Sat, 29 Sep 2018 08:25:30 -0500 |
| |
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.
| |