summaryrefslogtreecommitdiff
path: root/drivers/gpio/gpio-tc3589x.c
diff options
context:
space:
mode:
authorJiawen Wu <jiawenwu@trustnetic.com>2023-06-07 11:18:03 +0300
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>2023-06-13 15:40:41 +0300
commit8c00914e5438e3636f26b4f814b3297ae2a1b9ee (patch)
tree64e045937c3d697be9ad12b40f7cf6d1ddccd4d2 /drivers/gpio/gpio-tc3589x.c
parent858fd168a95c5b9669aac8db6c14a9aeab446375 (diff)
downloadlinux-8c00914e5438e3636f26b4f814b3297ae2a1b9ee.tar.xz
gpiolib: Fix GPIO chip IRQ initialization restriction
In case of gpio-regmap, IRQ chip is added by regmap-irq and associated with GPIO chip by gpiochip_irqchip_add_domain(). The initialization flag was not added in gpiochip_irqchip_add_domain(), causing gpiochip_to_irq() to return -EPROBE_DEFER. Fixes: 5467801f1fcb ("gpio: Restrict usage of GPIO chip irq members before initialization") Signed-off-by: Jiawen Wu <jiawenwu@trustnetic.com> Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com> Reviewed-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Diffstat (limited to 'drivers/gpio/gpio-tc3589x.c')
0 files changed, 0 insertions, 0 deletions