* Patch "mfd: cpcap: Use ack_invert interrupts" has been added to the 4.11-stable tree
@ 2017-06-18 1:03 gregkh
0 siblings, 0 replies; only message in thread
From: gregkh @ 2017-06-18 1:03 UTC (permalink / raw)
To: tony, gregkh, lee.jones, sre; +Cc: stable, stable-commits
This is a note to let you know that I've just added the patch titled
mfd: cpcap: Use ack_invert interrupts
to the 4.11-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:
mfd-cpcap-use-ack_invert-interrupts.patch
and it can be found in the queue-4.11 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@vger.kernel.org> know about it.
>From 5a88d4120029601a0868e20774382d312952d3b5 Mon Sep 17 00:00:00 2001
From: Tony Lindgren <tony@atomide.com>
Date: Mon, 3 Apr 2017 20:15:55 -0700
Subject: mfd: cpcap: Use ack_invert interrupts
From: Tony Lindgren <tony@atomide.com>
commit 5a88d4120029601a0868e20774382d312952d3b5 upstream.
We should use ack_invert as the int_read_and_clear() in the Motorola
kernel tree does "ireg_val & ~mreg_val" before writing to the mask
register.
Fixes: 56e1d40d3bea ("mfd: cpcap: Add minimal support")
Tested-by: Sebastian Reichel <sre@kernel.org>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
---
drivers/mfd/motorola-cpcap.c | 3 +++
1 file changed, 3 insertions(+)
--- a/drivers/mfd/motorola-cpcap.c
+++ b/drivers/mfd/motorola-cpcap.c
@@ -71,6 +71,7 @@ static struct regmap_irq_chip cpcap_irq_
.ack_base = CPCAP_REG_MI1,
.mask_base = CPCAP_REG_MIM1,
.use_ack = true,
+ .ack_invert = true,
},
{
.name = "cpcap-m2",
@@ -79,6 +80,7 @@ static struct regmap_irq_chip cpcap_irq_
.ack_base = CPCAP_REG_MI2,
.mask_base = CPCAP_REG_MIM2,
.use_ack = true,
+ .ack_invert = true,
},
{
.name = "cpcap1-4",
@@ -88,6 +90,7 @@ static struct regmap_irq_chip cpcap_irq_
.mask_base = CPCAP_REG_INTM1,
.type_base = CPCAP_REG_INTS1,
.use_ack = true,
+ .ack_invert = true,
},
};
Patches currently in stable-queue which might be from tony@atomide.com are
queue-4.11/mfd-cpcap-fix-bad-use-of-irq-sense-register.patch
queue-4.11/mfd-omap-usb-tll-fix-inverted-bit-use-for-usb-tll-mode.patch
queue-4.11/mfd-cpcap-fix-interrupt-to-use-level-interrupt.patch
queue-4.11/mfd-cpcap-use-ack_invert-interrupts.patch
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2017-06-18 1:05 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-06-18 1:03 Patch "mfd: cpcap: Use ack_invert interrupts" has been added to the 4.11-stable tree gregkh
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).