diff options
author | Aidan MacDonald <aidanmacdonald.0x0@gmail.com> | 2022-06-20 22:05:56 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2022-06-22 12:59:51 +0200 |
commit | 485037ae9a095491beb7f893c909a76cc4f9d1e7 (patch) | |
tree | 621c5f19c75c608cf93cf4e9cdaab8bc0cd897da /init | |
parent | regmap: Wire up regmap_config provided bulk write in missed functions (diff) | |
download | linux-485037ae9a095491beb7f893c909a76cc4f9d1e7.tar.xz linux-485037ae9a095491beb7f893c909a76cc4f9d1e7.zip |
regmap-irq: Fix a bug in regmap_irq_enable() for type_in_mask chips
When enabling a type_in_mask irq, the type_buf contents must be
AND'd with the mask of the IRQ we're enabling to avoid enabling
other IRQs by accident, which can happen if several type_in_mask
irqs share a mask register.
Fixes: bc998a730367 ("regmap: irq: handle HW using separate rising/falling edge interrupts")
Signed-off-by: Aidan MacDonald <aidanmacdonald.0x0@gmail.com>
Link: https://lore.kernel.org/r/20220620200644.1961936-2-aidanmacdonald.0x0@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions