Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge tag 'gpio-updates-for-v5.14-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/brgl/linux

Pull gpio fixes from Bartosz Golaszewski:

- revert a patch intruducing breakage in interrupt handling in
gpio-mpc8xxx

- correctly handle missing IRQs in gpio-tqmx86 by really making them
optional

* tag 'gpio-updates-for-v5.14-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/brgl/linux:
gpio: tqmx86: really make IRQ optional
Revert "gpio: mpc8xxx: change the gpio interrupt flags."

+4 -4
+1 -1
drivers/gpio/gpio-mpc8xxx.c
··· 405 405 406 406 ret = devm_request_irq(&pdev->dev, mpc8xxx_gc->irqn, 407 407 mpc8xxx_gpio_irq_cascade, 408 - IRQF_SHARED, "gpio-cascade", 408 + IRQF_NO_THREAD | IRQF_SHARED, "gpio-cascade", 409 409 mpc8xxx_gc); 410 410 if (ret) { 411 411 dev_err(&pdev->dev,
+3 -3
drivers/gpio/gpio-tqmx86.c
··· 238 238 struct resource *res; 239 239 int ret, irq; 240 240 241 - irq = platform_get_irq(pdev, 0); 242 - if (irq < 0) 241 + irq = platform_get_irq_optional(pdev, 0); 242 + if (irq < 0 && irq != -ENXIO) 243 243 return irq; 244 244 245 245 res = platform_get_resource(pdev, IORESOURCE_IO, 0); ··· 278 278 279 279 pm_runtime_enable(&pdev->dev); 280 280 281 - if (irq) { 281 + if (irq > 0) { 282 282 struct irq_chip *irq_chip = &gpio->irq_chip; 283 283 u8 irq_status; 284 284