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

From: Saravana Kannan
Date: Tue Jul 26 2022 - 22:16:39 EST


On Tue, Jul 26, 2022 at 7:02 PM Chanho Park <chanho61.park@xxxxxxxxxxx> 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 <saravanak@xxxxxxxxxx>
>
> Make sense for me and I tested this on my Exynos Auto v9 SADK board.
>
> Reviewed-by: Chanho Park <chanho61.park@xxxxxxxxxxx>
> Tested-by: Chanho Park <chanho61.park@xxxxxxxxxxx>

Thank you!

-Saravana