[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CACRpkdaFciX3xMw8ErRCwy79VVF6HDVkjAHi2EOtXXX_X1uVuw@mail.gmail.com>
Date: Tue, 2 Oct 2018 11:14:20 +0200
From: Linus Walleij <linus.walleij@...aro.org>
To: Ricardo Ribalda Delgado <ricardo.ribalda@...il.com>
Cc: Timur Tabi <timur@...eaurora.org>,
Stephen Boyd <swboyd@...omium.org>,
"open list:GPIO SUBSYSTEM" <linux-gpio@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
jhugo@...eaurora.org
Subject: Re: [PATCH v3 1/3] gpiolib: Add init_valid_mask exported function
On Tue, Oct 2, 2018 at 10:27 AM Ricardo Ribalda Delgado
<ricardo.ribalda@...il.com> 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@...il.com>
This is a very appetizing patch set.
I think patches 1 & 2 should be applied for sure even if
we don't apply patch 3, simply because it is way more
elegant.
Looking forward to see some test on Qualcomm's hardware
for this!
Yours,
Linus Walleij
Powered by blists - more mailing lists