Re: [PATCH v5 1/3] gpiolib: Add init_valid_mask exported function

From: Linus Walleij
Date: Wed Oct 10 2018 - 03:55:15 EST


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