https://bugzilla.kernel.org/show_bug.cgi?id=68291

--- Comment #29 from Jin Yao <[email protected]> ---
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);

-- 
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

Reply via email to