openwrtv4/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 acx-mac80211: update git url 2015-08-03 20:49:37 +00:00
ar7-atm ar7-atm: fix build with gcc 5 2015-12-06 13:41:26 +00:00
avila-wdt packages: clean up the package folder 2013-06-21 16:54:37 +00:00
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 package: replace ifconfig-usage with ip 2015-09-08 17:44:24 +00:00
button-hotplug button-hotplug: remove #ifdef CONFIG_HOTPLUG, it is gone in newer kernels 2014-05-23 22:13:13 +00:00
ep80579-drivers packages: clean up the package folder 2013-06-21 16:54:37 +00:00
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 cosmetic: remove trailing whitespaces 2015-10-15 22:12:13 +00:00
i2c-gpio-custom package/i2c-gpio-custom: fix checkpatch errors in module source 2013-09-02 08:45:30 +00:00
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 package/rotary-gpio-custom: fix checkpatch errors module source 2013-09-02 08:45:32 +00:00
rtc-rv5c386a packages: clean up the package folder 2013-06-21 16:54:37 +00:00
spi-gpio-custom package/kernel: add spi-gpio-custom module 2013-09-02 08:45:29 +00:00
trelay package: replace ifconfig-usage with ip 2015-09-08 17:44:24 +00:00
w1-gpio-custom w1-gpio-custom: Fix uninitialised variable causing 1-wire to not bind to GPIO 2015-05-23 15:29:20 +00:00
wrt55agv2-spidevs Rename 'atheros' target to 'ath25' 2015-03-13 03:02:28 +00:00