提交 be269180 编写于 作者: T Tony Lindgren 提交者: Lee Jones

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: NSebastian Reichel <sre@kernel.org>
Tested-by: NSebastian Reichel <sre@kernel.org>
Signed-off-by: NTony Lindgren <tony@atomide.com>
Signed-off-by: NLee Jones <lee.jones@linaro.org>
上级 5a88d412
...@@ -116,7 +116,6 @@ static struct regmap_irq_chip cpcap_irq_chip[CPCAP_NR_IRQ_CHIPS] = { ...@@ -116,7 +116,6 @@ static struct regmap_irq_chip cpcap_irq_chip[CPCAP_NR_IRQ_CHIPS] = {
.status_base = CPCAP_REG_INT1, .status_base = CPCAP_REG_INT1,
.ack_base = CPCAP_REG_INT1, .ack_base = CPCAP_REG_INT1,
.mask_base = CPCAP_REG_INTM1, .mask_base = CPCAP_REG_INTM1,
.type_base = CPCAP_REG_INTS1,
.use_ack = true, .use_ack = true,
.ack_invert = true, .ack_invert = true,
}, },
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册