-
由 Ricardo Ribalda Delgado 提交于
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: NRicardo Ribalda Delgado <ricardo.ribalda@gmail.com> Tested-by: NJeffrey Hugo <jhugo@codeaurora.org> Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
f8ec92a9