From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.linuxfoundation.org ([140.211.169.12]:37576 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751727AbdFRBFG (ORCPT ); Sat, 17 Jun 2017 21:05:06 -0400 Subject: Patch "mfd: cpcap: Use ack_invert interrupts" has been added to the 4.11-stable tree To: tony@atomide.com, gregkh@linuxfoundation.org, lee.jones@linaro.org, sre@kernel.org Cc: , From: Date: Sun, 18 Jun 2017 09:03:40 +0800 Message-ID: <14977478204956@kroah.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ANSI_X3.4-1968 Content-Transfer-Encoding: 8bit Sender: stable-owner@vger.kernel.org List-ID: 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 know about it. >>From 5a88d4120029601a0868e20774382d312952d3b5 Mon Sep 17 00:00:00 2001 From: Tony Lindgren Date: Mon, 3 Apr 2017 20:15:55 -0700 Subject: mfd: cpcap: Use ack_invert interrupts From: Tony Lindgren 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 Signed-off-by: Tony Lindgren Signed-off-by: Lee Jones Signed-off-by: Greg Kroah-Hartman --- 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