regmap: irq: add chip option mask_writeonly
authorMichael Grzeschik <m.grzeschik@pengutronix.de>
Fri, 23 Jun 2017 12:35:09 +0000 (14:35 +0200)
committerMark Brown <broonie@kernel.org>
Wed, 28 Jun 2017 19:11:07 +0000 (20:11 +0100)
commita71411dbf6c82ba2eb2519717c04ffb19bc4dda5
treeb2c38d143a0a48f15f0527abacc89d0ffe2a7b86
parent63c73b059cbbd96d5161ebe34c533136b4639d26
regmap: irq: add chip option mask_writeonly

Some irq controllers have writeonly/multipurpose register layouts. In
those cases we read invalid data back. Here we add the option
mask_writeonly as masking option.

Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/base/regmap/regmap-irq.c
include/linux/regmap.h