linux-stable/drivers/pinctrl/samsung
Saravana Kannan 152a81a0b1 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@google.com>
Reviewed-by: Sam Protsenko <semen.protsenko@linaro.org>
Reviewed-by: Chanho Park <chanho61.park@samsung.com>
Tested-by: Chanho Park <chanho61.park@samsung.com>
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20220727013349.3056826-1-saravanak@google.com
2022-08-16 12:23:30 +03:00
..
Kconfig pinctrl: samsung: fix missing GPIOLIB on ARM64 Exynos config 2022-04-21 08:58:54 +02:00
Makefile pinctrl: samsung: Remove support for Exynos5440 2018-05-02 19:08:55 +02:00
pinctrl-exynos-arm.c pinctrl: samsung: fix leaked of_node references 2019-04-23 10:59:47 +02:00
pinctrl-exynos-arm64.c pinctrl: samsung: staticize fsd_pin_ctrl 2022-04-04 18:58:26 +02:00
pinctrl-exynos.c pinctrl: samsung: do not use bindings header with constants 2022-06-28 15:55:20 +02:00
pinctrl-exynos.h pinctrl: samsung: do not use bindings header with constants 2022-06-28 15:55:20 +02:00
pinctrl-s3c24xx.c pinctrl: samsung: Switch to use for_each_gpiochip_node() helper 2022-04-14 21:44:58 +03:00
pinctrl-s3c64xx.c pinctrl: samsung: Switch to use for_each_gpiochip_node() helper 2022-04-14 21:44:58 +03:00
pinctrl-samsung.c pinctrl: samsung: Finish initializing the gpios before registering them 2022-08-16 12:23:30 +03:00
pinctrl-samsung.h pinctrl: samsung: do not use bindings header with constants 2022-06-28 15:55:20 +02:00