openwrt/package
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
..
base-files base-files: support passing mode to ucidef_set_led_netdev() 2016-02-26 14:49:17 +00:00
boot uboot-oxnas: fix typo leading to tool not being built 2016-02-25 10:13:53 +00:00
devel strace: update to version 4.11 2016-02-25 21:55:41 +00:00
firmware mac80211: add packages libertas-spi module and firmware 2016-02-22 08:54:08 +00:00
kernel kernel: gpio-button-hotplug: Add missing ONESHOT flag to threaded IRQ request 2016-03-03 20:24:47 +00:00
libs cyassl: disable Intel ASM for now 2016-03-02 10:01:27 +00:00
network dnsmasq: add host-specific lease time option for static hosts 2016-02-26 09:13:03 +00:00
system mtd: fix reading of image magic bytes in smaller chunks 2016-03-03 20:24:38 +00:00
utils bsdiff: add bsdiff and bspatch tool package 2016-02-27 22:59:13 +00:00
Makefile package/Makefile: override opkg installation time when SOURCE_DATE_EPOCH set 2016-01-31 23:29:12 +00:00