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)
commit5a00b6c2438460b870a451f14593fc40d3c7edf6
treea851fbf5e480d51e6b6e54e4bc5772decb8dc5e6
parente95ac4574b23a5fd8f5c5f2c19ef69ac15b7252c
platform/x86: intel_mid_powerbtn: Set IRQ_ONESHOT

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