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-fixes-for-v6.3-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/brgl/linux

Pull gpio fixes from Bartosz Golaszewski:

- fix irq handling in gpio-davinci

- fix Kconfig dependencies for gpio-regmap

* tag 'gpio-fixes-for-v6.3-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/brgl/linux:
gpio: davinci: Add irq chip flag to skip set wake
gpio: davinci: Do not clear the bank intr enable bit in save_context
gpio: GPIO_REGMAP: select REGMAP instead of depending on it

+2 -5
+1 -1
drivers/gpio/Kconfig
··· 100 100 tristate 101 101 102 102 config GPIO_REGMAP 103 - depends on REGMAP 103 + select REGMAP 104 104 tristate 105 105 106 106 # put drivers in the right section, in alphabetical order
+1 -4
drivers/gpio/gpio-davinci.c
··· 324 324 .irq_enable = gpio_irq_enable, 325 325 .irq_disable = gpio_irq_disable, 326 326 .irq_set_type = gpio_irq_type, 327 - .flags = IRQCHIP_SET_TYPE_MASKED, 327 + .flags = IRQCHIP_SET_TYPE_MASKED | IRQCHIP_SKIP_SET_WAKE, 328 328 }; 329 329 330 330 static void gpio_irq_handler(struct irq_desc *desc) ··· 640 640 context->set_rising = readl_relaxed(&g->set_rising); 641 641 context->set_falling = readl_relaxed(&g->set_falling); 642 642 } 643 - 644 - /* Clear Bank interrupt enable bit */ 645 - writel_relaxed(0, base + BINTEN); 646 643 647 644 /* Clear all interrupt status registers */ 648 645 writel_relaxed(GENMASK(31, 0), &g->intstat);