pinctrl: samsung: Remove EINT handler for Exynos850 ALIVE and CMGP gpios
authorSam Protsenko <semen.protsenko@linaro.org>
Fri, 14 Jan 2022 20:37:57 +0000 (22:37 +0200)
committerKrzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Sun, 23 Jan 2022 11:21:56 +0000 (12:21 +0100)
commit96f79935015cf3d7ca6fabf63cd13b8af45a7713
tree2e082fbabbafd6ca9efa57799689eeaf3dbbd094
parent50ebd19e3585b9792e994cfa8cbee8947fe06371
pinctrl: samsung: Remove EINT handler for Exynos850 ALIVE and CMGP gpios

GPIO_ALIVE and GPIO_CMGP blocks in Exynos850 SoC don't have EINT
capabilities (like EINT_SVC register), and there are no corresponding
interrupts wired to GIC. Instead those blocks have wake-up interrupts
for each pin. The ".eint_gpio_init" callbacks were specified by mistake
for these blocks, when porting pinctrl code from downstream kernel. That
leads to error messages like this:

    samsung-pinctrl 11850000.pinctrl: irq number not available

Remove ".eint_gpio_init" for pinctrl_alive and pinctrl_gpmc to fix this
error. This change doesn't affect proper interrupt handling for related
pins, as all those pins are handled in ".eint_wkup_init".

Fixes: cdd3d945dcec ("pinctrl: samsung: Add Exynos850 SoC specific data")
Signed-off-by: Sam Protsenko <semen.protsenko@linaro.org>
Link: https://lore.kernel.org/r/20220114203757.4860-1-semen.protsenko@linaro.org
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
drivers/pinctrl/samsung/pinctrl-exynos-arm64.c