Patch "Input: twl4030-pwrbutton - use correct device for irq request" has been added to the 4.4-stable tree
Subsystems (2)
This is a note to let you know that I've just added the patch titled
Input: twl4030-pwrbutton - use correct device for irq request
to the 4.4-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:
input-twl4030-pwrbutton-use-correct-device-for-irq-request.patch
and it can be found in the queue-4.4 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 foo@baz Thu Mar 22 14:57:32 CET 2018
From: Sebastian Reichel <[email protected]>
Date: Fri, 28 Apr 2017 10:25:51 -0700
Subject: Input: twl4030-pwrbutton - use correct device for irq request
From: Sebastian Reichel <[email protected]>
[ Upstream commit 3071e9dd6cd3f2290d770117330f2c8b2e9a97e4 ]
The interrupt should be requested for the platform device and not for the input device.
--- drivers/input/misc/twl4030-pwrbutton.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/input/misc/twl4030-pwrbutton.c +1 -1
@@ -70,7 +70,7 @@ static int twl4030_pwrbutton_probe(struc pwr->phys ="twl4030_pwrbutton/input0" ; pwr->dev.parent = &pdev->dev; - err =devm_request_threaded_irq (&pwr->dev, irq,NULL , powerbutton_irq, + err =devm_request_threaded_irq (&pdev->dev, irq,NULL , powerbutton_irq,IRQF_TRIGGER_FALLING |IRQF_TRIGGER_RISING |IRQF_ONESHOT ,"twl4030_pwrbutton" , pwr);
Patches currently in stable-queue which might be from [email protected] are
queue-4.4/power-supply-pda_power-move-from-timer-to-delayed_work.patch queue-4.4/input-twl4030-pwrbutton-use-correct-device-for-irq-request.patch