summaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2013-01-04 16:35:07 +0000
committerMark Brown <broonie@opensource.wolfsonmicro.com>2013-01-04 20:53:44 +0000
commit9442490a02867088bcd5ed6231fa3b35a733c2b8 (patch)
treef086d7f0acc384c6765f80b85bf8541104252ed5 /include/linux
parent33be49324f7f3e9dff10d3d07a5c78ee82f8d54e (diff)
downloadop-kernel-dev-9442490a02867088bcd5ed6231fa3b35a733c2b8.zip
op-kernel-dev-9442490a02867088bcd5ed6231fa3b35a733c2b8.tar.gz
regmap: irq: Support wake IRQ mask inversion
Support devices which have an enable rather than mask register for wake sources. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/regmap.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/regmap.h b/include/linux/regmap.h
index b7e95bf..8c0b50d 100644
--- a/include/linux/regmap.h
+++ b/include/linux/regmap.h
@@ -381,6 +381,7 @@ struct regmap_irq_chip {
unsigned int wake_base;
unsigned int irq_reg_stride;
unsigned int mask_invert;
+ unsigned int wake_invert;
bool runtime_pm;
int num_regs;
OpenPOWER on IntegriCloud