On Fri, Oct 5, 2018 at 8:53 AM Ricardo Ribalda Delgado <ricardo.ribalda@xxxxxxxxx> wrote: > 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@xxxxxxxxx> Patch applied, thanks a lot for your hard work on this! Yours, Linus Walleij