From: Tony Lindgren Date: Tue, 4 Apr 2017 03:15:56 +0000 (-0700) Subject: mfd: cpcap: Fix bad use of IRQ sense register X-Git-Tag: v4.11.7~49 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=902ef33f27c75e83e3f0fa133200a3ed5c9d2977;p=thirdparty%2Fkernel%2Fstable.git mfd: cpcap: Fix bad use of IRQ sense register commit be269180c9335c257a2763c3fd3a44e65c90c1f0 upstream. The cpcap INTS registers are for getting the value of the line, not for configuring the type. Fixes: 56e1d40d3bea ("mfd: cpcap: Add minimal support") Reviewed-By: Sebastian Reichel Tested-by: Sebastian Reichel Signed-off-by: Tony Lindgren Signed-off-by: Lee Jones Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/mfd/motorola-cpcap.c b/drivers/mfd/motorola-cpcap.c index 1d3fec0aa1668..bc26079e9737d 100644 --- a/drivers/mfd/motorola-cpcap.c +++ b/drivers/mfd/motorola-cpcap.c @@ -88,7 +88,6 @@ static struct regmap_irq_chip cpcap_irq_chip[CPCAP_NR_IRQ_CHIPS] = { .status_base = CPCAP_REG_INT1, .ack_base = CPCAP_REG_INT1, .mask_base = CPCAP_REG_INTM1, - .type_base = CPCAP_REG_INTS1, .use_ack = true, .ack_invert = true, },