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>
This commit is contained in:

committed by
Lee Jones

parent
c1ae3cfa0e
commit
ab781ec0e5
@@ -290,3 +290,5 @@ static inline int cpcap_get_vendor(struct device *dev,
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
extern int cpcap_sense_virq(struct regmap *regmap, int virq);
|
||||
|
Reference in New Issue
Block a user