OSDN Git Service

mfd: cpcap: Implement IRQ sense helper
authorSebastian Reichel <sre@kernel.org>
Wed, 29 Mar 2017 12:18:20 +0000 (14:18 +0200)
committerLee Jones <lee.jones@linaro.org>
Tue, 11 Apr 2017 14:17:52 +0000 (15:17 +0100)
commitab781ec0e5e781849bd14291608c8626bac871e1
tree354710af8a6c976a3f52d55ef5b1c3d40717804b
parentc1ae3cfa0e89fa1a7ecc4c99031f5e9ae99d9201
mfd: cpcap: Implement IRQ sense helper

CPCAP can sense if IRQ is currently set or not. This
functionality is required for a few subdevices, such
as the power button and usb phy modules.

Signed-off-by: Sebastian Reichel <sre@kernel.org>
Acked-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/motorola-cpcap.c
include/linux/mfd/motorola-cpcap.h