]> 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)
commit5215060a6777641e58e5cc02a195a0ae11afeef5
treea851fbf5e480d51e6b6e54e4bc5772decb8dc5e6
parent3fb4d09ec9b79a7e98f325de4dd9eec725614c08
platform/x86: intel_mid_powerbtn: Set IRQ_ONESHOT

The commit 4df38d498ad6 ("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: 4df38d498ad6 ("genirq: Reject bogus threaded irq requests")
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
drivers/platform/x86/intel_mid_powerbtn.c