regmap: irq: Allow to acknowledge masked interrupts during initialization
authorPhilipp Zabel <p.zabel@pengutronix.de>
Mon, 22 Jul 2013 15:15:52 +0000 (17:15 +0200)
committerMark Brown <broonie@linaro.org>
Tue, 23 Jul 2013 19:39:12 +0000 (20:39 +0100)
commit2753e6f8207355ab72574d48287cec187272a151
tree55ff653ff5f419c4a7950166b3e3c7ad86470814
parent3b2f64d00c46e1e4e9bd0bb9bb12619adac27a4b
regmap: irq: Allow to acknowledge masked interrupts during initialization

In case the hardware interrupt mask register does not prevent the chip level
irq from being asserted by the corresponding interrupt status bit, already
set interrupt bits should to be cleared once after masking them during
initialization. Add a flag to let drivers enable this behavior.

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/base/regmap/regmap-irq.c
include/linux/regmap.h
This page took 0.027848 seconds and 5 git commands to generate.