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

From: Chanho Park
Date: Tue Jul 26 2022 - 22:02:15 EST


> 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>

Best Regards,
Chanho Park