OSDN Git Service

regmap-irq: Add no_status support
authorWilliam Breathitt Gray <william.gray@linaro.org>
Mon, 27 Feb 2023 16:45:22 +0000 (11:45 -0500)
committerMark Brown <broonie@kernel.org>
Sun, 5 Mar 2023 23:38:50 +0000 (23:38 +0000)
commit4d60cac951fd2dfbf261b83abb805748abc8b995
tree17d2911ac85ee88660657c38e7f032c437623492
parentfe15c26ee26efa11741a7b632e9f23b01aca4cc6
regmap-irq: Add no_status support

Some devices lack status registers, yet expect to handle interrupts.
Introduce a no_status flag to indicate such a configuration, where
rather than read a status register to verify, all interrupts received
are assumed to be active.

Cc: Mark Brown <broonie@kernel.org>
Signed-off-by: William Breathitt Gray <william.gray@linaro.org>
Link: https://lore.kernel.org/r/bd501b4b5ff88da24d467f75e8c71b4e0e6f21e2.1677515341.git.william.gray@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/base/regmap/regmap-irq.c
include/linux/regmap.h