diff options
author | Aidan MacDonald <aidanmacdonald.0x0@gmail.com> | 2022-06-24 00:14:13 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2022-06-29 20:13:10 +0300 |
commit | 6b0c31747722936101d56e71e809bfd7a6a440b7 (patch) | |
tree | a33fd16f95baab0c277ba29eec05a3925cd505d8 /include/linux/regmap.h | |
parent | 610fdd668e6af48fcae7908161d14eee3a95ec92 (diff) | |
download | linux-6b0c31747722936101d56e71e809bfd7a6a440b7.tar.xz |
regmap-irq: Remove inappropriate uses of regmap_irq_update_bits()
regmap_irq_update_bits() is misnamed and should only be used for
updating mask registers, since it checks the mask_writeonly flag.
However, it was also used for updating wake and type registers.
It's safe to replace these uses with regmap_update_bits() because
there are no users of the mask_writeonly flag.
Signed-off-by: Aidan MacDonald <aidanmacdonald.0x0@gmail.com>
Link: https://lore.kernel.org/r/20220623211420.918875-6-aidanmacdonald.0x0@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/linux/regmap.h')
0 files changed, 0 insertions, 0 deletions