]> git.baikalelectronics.ru Git - kernel.git/commit
platform/x86: intel_mid_powerbtn: Set IRQ_ONESHOT
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 19 Jan 2017 16:39:40 +0000 (18:39 +0200)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 20 Jan 2017 23:45:34 +0000 (01:45 +0200)
commitcd22d4d1384d0820c7298821056b5fe4ac63a17b
treea851fbf5e480d51e6b6e54e4bc5772decb8dc5e6
parentd3a432c352521422ce89e4384e91a62fb8971401
platform/x86: intel_mid_powerbtn: Set IRQ_ONESHOT

The commit ac4ffb5fd966 ("genirq: Reject bogus threaded irq requests")
starts refusing misconfigured interrupt handlers. This makes
intel_mid_powerbtn not working anymore.

Add a mandatory flag to a threaded IRQ request in the driver.

Fixes: ac4ffb5fd966 ("genirq: Reject bogus threaded irq requests")
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
drivers/platform/x86/intel_mid_powerbtn.c