Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit be269180 authored by Tony Lindgren's avatar Tony Lindgren Committed by Lee Jones
Browse files

mfd: cpcap: Fix bad use of IRQ sense register



The cpcap INTS registers are for getting the value of the line,
not for configuring the type.

Fixes: 56e1d40d ("mfd: cpcap: Add minimal support")
Reviewed-By: default avatarSebastian Reichel <sre@kernel.org>
Tested-by: default avatarSebastian Reichel <sre@kernel.org>
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
parent 5a88d412
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -116,7 +116,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,
	},