Re: [PATCH v2] gpiolib: Show correct direction from the beginning
From: Timur Tabi
Date: Sat Sep 29 2018 - 09:25:35 EST
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.