+14
−2
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
Add a function that allows initializing the valid_mask from gpiochip_add_data. This prevents race conditions during gpiochip initialization. If the function is not exported, then the old behaviour is respected, this is, set all gpios as valid. Signed-off-by:Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com> Tested-by:
Jeffrey Hugo <jhugo@codeaurora.org> Signed-off-by:
Linus Walleij <linus.walleij@linaro.org>