OrangePi_CM5/drivers/base/regmap
Aidan MacDonald 7d7450363f regmap-irq: Fix a bug in regmap_irq_enable() for type_in_mask chips
[ Upstream commit 485037ae9a095491beb7f893c909a76cc4f9d1e7 ]

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: bc998a7303 ("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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-06-29 08:59:49 +02:00
..
Kconfig
…
Makefile
…
internal.h
…
regcache-flat.c
…
regcache-lzo.c
…
regcache-rbtree.c regmap: Fix possible double-free in regcache_rbtree_exit() 2021-11-02 19:48:22 +01:00
regcache.c
…
regmap-ac97.c
…
regmap-debugfs.c regmap: set debugfs_name to NULL after it is freed 2021-05-14 09:50:09 +02:00
regmap-i2c.c
…
regmap-i3c.c
…
regmap-irq.c regmap-irq: Fix a bug in regmap_irq_enable() for type_in_mask chips 2022-06-29 08:59:49 +02:00
regmap-mmio.c
…
regmap-sccb.c
…
regmap-sdw.c regmap: sdw: use _no_pm functions in regmap_read/write 2021-03-04 11:38:15 +01:00
regmap-slimbus.c
…
regmap-spi-avmm.c
…
regmap-spi.c
…
regmap-spmi.c
…
regmap-w1.c
…
regmap.c regmap: Call regmap_debugfs_exit() prior to _init() 2022-01-27 10:54:03 +01:00
trace.h
…