mfd: cpcap: Use ack_invert interrupts
authorTony Lindgren <tony@atomide.com>
Tue, 4 Apr 2017 03:15:55 +0000 (20:15 -0700)
committerLee Jones <lee.jones@linaro.org>
Thu, 27 Apr 2017 08:25:07 +0000 (09:25 +0100)
commit5a88d4120029601a0868e20774382d312952d3b5
tree32459e6ef6e1d9700f3d05231680e706ca447a21
parentac89473213c602b98172d92e40f5e78032b1aba0
mfd: cpcap: Use ack_invert interrupts

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 <sre@kernel.org>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/motorola-cpcap.c