Re: [PATCH] regmap: irq: add chip option mask_writeonly

2017-06-23 Thread Mark Brown
On Thu, Jun 22, 2017 at 01:03:41PM +0200, Michael Grzeschik wrote: > 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. This doesn't apply against current code, please check and

Re: [PATCH] regmap: irq: add chip option mask_writeonly

2017-06-23 Thread Mark Brown
On Thu, Jun 22, 2017 at 01:03:41PM +0200, Michael Grzeschik wrote: > 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. This doesn't apply against current code, please check and

[PATCH] regmap: irq: add chip option mask_writeonly

2017-06-22 Thread Michael Grzeschik
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 --- drivers/base/regmap/regmap-irq.c | 43

[PATCH] regmap: irq: add chip option mask_writeonly

2017-06-22 Thread Michael Grzeschik
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 --- drivers/base/regmap/regmap-irq.c | 43 ++--