lkml.org 
[lkml]   [2018]   [Sep]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH v2] gpiolib: Show correct direction from the beginning
From
Date
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.

\
 
 \ /
  Last update: 2018-09-29 15:26    [W:1.093 / U:0.628 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site