aboutsummaryrefslogtreecommitdiffstats
path: root/rust/helpers.c
diff options
context:
space:
mode:
authorJiawen Wu <[email protected]>2023-06-07 08:18:03 +0000
committerBartosz Golaszewski <[email protected]>2023-06-13 12:40:41 +0000
commit8c00914e5438e3636f26b4f814b3297ae2a1b9ee (patch)
tree64e045937c3d697be9ad12b40f7cf6d1ddccd4d2 /rust/helpers.c
parentLinux 6.4-rc6 (diff)
downloadkernel-8c00914e5438e3636f26b4f814b3297ae2a1b9ee.tar.gz
kernel-8c00914e5438e3636f26b4f814b3297ae2a1b9ee.zip
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 <[email protected]> Reviewed-by: Andy Shevchenko <[email protected]> Reviewed-by: Linus Walleij <[email protected]> Signed-off-by: Bartosz Golaszewski <[email protected]>
Diffstat (limited to 'rust/helpers.c')
0 files changed, 0 insertions, 0 deletions