Re: [PATCH 2/3] mfd: cpcap: Use ack_invert interrupts

2017-04-11 Thread Lee Jones
On Mon, 03 Apr 2017, Tony Lindgren wrote: > 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") > Cc: Charles Keepax > Cc: Marcel Partap

[PATCH 2/3] mfd: cpcap: Use ack_invert interrupts

2017-04-03 Thread Tony Lindgren
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") Cc: Charles Keepax Cc: Marcel Partap Cc: Michael Scott Tested-by: Sebastian Reichel Signed-o