]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
mfd: cpcap: Use ack_invert interrupts
authorTony Lindgren <tony@atomide.com>
Tue, 4 Apr 2017 03:15:55 +0000 (20:15 -0700)
committerSeth Forshee <seth.forshee@canonical.com>
Sun, 25 Jun 2017 15:36:39 +0000 (10:36 -0500)
commit725bff619ccbcb15790cd26f8a22733c05de8141
treeb0d3f17a00f22e011f8e542dd796564c872dee53
parent49d509f56a043842a7799dc1c9189edda189b3d5
mfd: cpcap: Use ack_invert interrupts

BugLink: http://bugs.launchpad.net/bugs/1700372
commit 5a88d4120029601a0868e20774382d312952d3b5 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
drivers/mfd/motorola-cpcap.c