Skip to contentSkip to conversation

Patch "mfd: cpcap: Use ack_invert interrupts" has been added to the 4.11-stable tree

PATCH [email protected] 1 participant 1 message Jun 18, 2017

Subsystems (2)
lore
Share & tools
lore

[email protected]

author maintainer Applied
#0 lore raw

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 <[email protected]> know about it.

Quoted 1 line

From 5a88d4120029601a0868e20774382d312952d3b5 Mon Sep 17 00:00:00 2001

From: Tony Lindgren <[email protected]>
Date: Mon, 3 Apr 2017 20:15:55 -0700
Subject: mfd: cpcap: Use ack_invert interrupts

From: Tony Lindgren <[email protected]>

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")
---
 drivers/mfd/motorola-cpcap.c |    3 +++
 1 file changed, 3 insertions(+)
drivers/mfd/motorola-cpcap.c +3 -0
@@ -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 [email protected] 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