2024-01-31 19:40:52

by Linus Walleij

[permalink] [raw]
Subject: Re: [PATCH 06/22] gpio: add SRCU infrastructure to struct gpio_desc

On Tue, Jan 30, 2024 at 1:48 PM Bartosz Golaszewski <[email protected]> wrote:

> From: Bartosz Golaszewski <[email protected]>
>
> Extend the GPIO descriptor with an SRCU structure in order to serialize
> the access to the label. Initialize and clean it up where applicable.
>
> Signed-off-by: Bartosz Golaszewski <[email protected]>

I don't know the inner transcendental semantics of SRCU but the code
sure looks like it is doing the right thing.
Reviewed-by: Linus Walleij <[email protected]>

Yours,
Linus Walleij