openwrt/package/kernel
John Crispin 4ac3411f09 kernel: gpio-button-hotplug: Add missing ONESHOT flag to threaded IRQ request
Without the IRQF_ONESHOT flag in devm_request_threaded_irq() call I get
following error:

  genirq: Threaded irq requested with handler=NULL and !ONESHOT for irq 56
  gpio-keys gpio-keys: failed to request irq:56 for gpio:20

>From kernel/irq/manage.c:

 The interrupt was requested with handler = NULL, so we use the default
 primary handler for it. But it does not have the oneshot flag set. In
 combination with level interrupts this is deadly, because the default
 primary handler just wakes the thread, then the irq lines is reenabled,
 but the device still has the level irq asserted. Rinse and repeat....

 While this works for edge type interrupts, we play it safe and reject
 unconditionally because we can't say for sure which type this interrupt
 really has. The type flags are unreliable as the underlying chip
 implementation can override them.

Signed-off-by: Petr Štetiar <ynezz@true.cz>

SVN-Revision: 48894
2016-03-03 20:24:47 +00:00
..
acx-mac80211
ar7-atm ar7-atm: fix build with gcc 5 2015-12-06 13:41:26 +00:00
avila-wdt
brcm2708-gpu-fw brcm2708-gpu-fw: move pkg build dir to kernel build dir to fix rebuild bugs after cleaning the kernel tree 2016-02-16 21:42:00 +00:00
broadcom-wl
button-hotplug
ep80579-drivers
gpio-button-hotplug kernel: gpio-button-hotplug: Add missing ONESHOT flag to threaded IRQ request 2016-03-03 20:24:47 +00:00
hostap-driver
i2c-gpio-custom
lantiq ltq-vdsl-mei: activate format security checks 2016-02-25 21:59:56 +00:00
linux kernel/gpio_keys: load module on pre-init 2016-02-26 08:35:20 +00:00
mac80211 mac80211: add a number of pending fixes 2016-03-02 14:56:48 +00:00
mmc_over_gpio package: kernel: update dependencies for 4.4 2015-12-02 22:19:31 +00:00
mt76 mt76: update to the latest version, adds basic mt7628 support 2016-03-02 17:40:55 +00:00
mwlwifi mwlwifi: fix build with latest mac80211 2016-01-15 16:58:00 +00:00
om-watchdog om-watchdog: Move each board name to its own line 2016-03-03 20:24:35 +00:00
rotary-gpio-custom
rtc-rv5c386a
spi-gpio-custom
trelay
w1-gpio-custom
wrt55agv2-spidevs