2022-07-27 02:04:32

by Chanho Park

[permalink] [raw]
Subject: RE: [PATCH v1] pinctrl: samsung: Finish initializing the gpios before registering them

> Subject: [PATCH v1] pinctrl: samsung: Finish initializing the gpios before
> registering them
>
> As soon as a gpio is registered, it should be usable by a consumer. So, do
> all the initialization before registering the gpios. Without this change,
> a consumer can request a GPIO IRQ and have the gpio to IRQ mapping fail.
>
> Signed-off-by: Saravana Kannan <[email protected]>

Make sense for me and I tested this on my Exynos Auto v9 SADK board.

Reviewed-by: Chanho Park <[email protected]>
Tested-by: Chanho Park <[email protected]>

Best Regards,
Chanho Park


2022-07-27 02:54:49

by Saravana Kannan

[permalink] [raw]
Subject: Re: [PATCH v1] pinctrl: samsung: Finish initializing the gpios before registering them

On Tue, Jul 26, 2022 at 7:02 PM Chanho Park <[email protected]> wrote:
>
> > Subject: [PATCH v1] pinctrl: samsung: Finish initializing the gpios before
> > registering them
> >
> > As soon as a gpio is registered, it should be usable by a consumer. So, do
> > all the initialization before registering the gpios. Without this change,
> > a consumer can request a GPIO IRQ and have the gpio to IRQ mapping fail.
> >
> > Signed-off-by: Saravana Kannan <[email protected]>
>
> Make sense for me and I tested this on my Exynos Auto v9 SADK board.
>
> Reviewed-by: Chanho Park <[email protected]>
> Tested-by: Chanho Park <[email protected]>

Thank you!

-Saravana