Patch "i2c: fix wakeup irq parsing" has been added to the 4.3-stable tree
Subsystems (2)
This is a note to let you know that I've just added the patch titled
i2c: fix wakeup irq parsing
to the 4.3-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:
i2c-fix-wakeup-irq-parsing.patch
and it can be found in the queue-4.3 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
c18fba23061f16dde128e10d4869ba4e88e0e81aMon Sep 17 00:00:00 2001
From: Grygorii Strashko <[email protected]>
Date: Thu, 12 Nov 2015 15:42:26 +0200
Subject: i2c: fix wakeup irq parsing
From: Grygorii Strashko <[email protected]>
commit c18fba23061f16dde128e10d4869ba4e88e0e81a upstream.
This patch fixes obvious copy-past error in wake up irq parsing code which leads to the fact that dev_pm_set_wake_irq() will be called with wrong IRQ number when "wakeup" IRQ is not defined in DT.
--- drivers/i2c/i2c-core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/i2c/i2c-core.c +1 -1
@@ -679,7 +679,7 @@ static int i2c_device_probe(struct devicif (wakeirq >0 && wakeirq != client->irq) status =dev_pm_set_dedicated_wake_irq (dev, wakeirq);else if (client->irq >0 ) - status =dev_pm_set_wake_irq (dev, wakeirq); + status =dev_pm_set_wake_irq (dev, client->irq);else status =0 ;
Patches currently in stable-queue which might be from [email protected] are
queue-4.3/i2c-fix-wakeup-irq-parsing.patch queue-4.3/pci-host-mark-pcie-pci-msi-irq-cascade-handlers-as-irqf_no_thread.patch