]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
mfd: cpcap: Fix bad use of IRQ sense register
authorTony Lindgren <tony@atomide.com>
Tue, 4 Apr 2017 03:15:56 +0000 (20:15 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 24 Jun 2017 05:06:17 +0000 (07:06 +0200)
commit902ef33f27c75e83e3f0fa133200a3ed5c9d2977
tree591d757fef736350b7c3cc5323988685f742f869
parentd9eb87dbb26cf3b7efe1c8bd676a05c8e66b846e
mfd: cpcap: Fix bad use of IRQ sense register

commit be269180c9335c257a2763c3fd3a44e65c90c1f0 upstream.

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

Fixes: 56e1d40d3bea ("mfd: cpcap: Add minimal support")
Reviewed-By: Sebastian Reichel <sre@kernel.org>
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>
drivers/mfd/motorola-cpcap.c