Patch "platform/x86: intel_mid_powerbtn: Set IRQ_ONESHOT" has been added to the 4.9-stable tree
Subsystems (2)
This is a note to let you know that I've just added the patch titled
platform/x86: intel_mid_powerbtn: Set IRQ_ONESHOT
to the 4.9-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
platform-x86-intel_mid_powerbtn-set-irq_oneshot.patch
and it can be found in the queue-4.9 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.
Quoted 1 line
From
5a00b6c2438460b870a451f14593fc40d3c7edf6Mon Sep 17 00:00:00 2001
From: Andy Shevchenko <[email protected]>
Date: Thu, 19 Jan 2017 18:39:40 +0200
Subject: platform/x86: intel_mid_powerbtn: Set IRQ_ONESHOT
From: Andy Shevchenko <[email protected]>
commit 5a00b6c2438460b870a451f14593fc40d3c7edf6 upstream.
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.
--- drivers/platform/x86/intel_mid_powerbtn.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/platform/x86/intel_mid_powerbtn.c +1 -1
@@ -77,7 +77,7 @@ static int mfld_pb_probe(struct platforminput_set_capability (input,EV_KEY ,KEY_POWER ); - error =request_threaded_irq (irq,NULL , mfld_pb_isr,0 , + error =request_threaded_irq (irq,NULL , mfld_pb_isr,IRQF_ONESHOT ,DRIVER_NAME , input);if (error) { dev_err(&pdev->dev, "Unable to request irq %d for mfld power"
Patches currently in stable-queue which might be from [email protected] are
queue-4.9/pinctrl-baytrail-rectify-debounce-support.patch queue-4.9/platform-x86-intel_mid_powerbtn-set-irq_oneshot.patch queue-4.9/platform-x86-mlx-platform-free-first-dev-on-error.patch