https://bugzilla.kernel.org/show_bug.cgi?id=68291
--- Comment #30 from Mathias Nyman <[email protected]> --- (In reply to Jin Yao from comment #29) > Anoher issue I found is devm_request_threaded_irq() returning with failure. > > genirq: Threaded irq requested with handler=NULL and !ONESHOT for irq 16 > byt_gpio INT33FC:02: Failed to request IRQ 16 ACPI event handler > Return value of devm_request_threaded_irq() is -22. > > Following is my modification, then it works. > > /* Assume BIOS sets the triggering, so no flags */ > ret = devm_request_threaded_irq(chip->dev, irq, NULL, handler, > - 0, "GPIO-signaled-ACPI-event", > + IRQF_ONESHOT, "GPIO-signaled-ACPI-event", > data); This is a known issue being resolved by Mika W. in a patchseries: http://marc.info/?l=linux-kernel&m=139445622116860&w=2 I also use the "IRQF_ONESHOT" flag while working on this issue until patches are accepted. -- You are receiving this mail because: You are watching the assignee of the bug. ------------------------------------------------------------------------------ Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/13534_NeoTech _______________________________________________ acpi-bugzilla mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla
