]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: wcd9335: Convert irq chip to config regs
authorAidan MacDonald <aidanmacdonald.0x0@gmail.com>
Thu, 21 Jul 2022 10:25:57 +0000 (11:25 +0100)
committerMark Brown <broonie@kernel.org>
Sun, 28 Aug 2022 19:20:01 +0000 (20:20 +0100)
commit17447c9de3ba493283ac5f750ee1af76325cb131
treebd59c366a9eaa2c0ee62c070df6939c1e1bc2972
parente21eab4ca486b0afc96b2965d1bebe186b0426c8
ASoC: wcd9335: Convert irq chip to config regs

Type registers in regmap-irq have been deprecated in favor of config
registers, which are more general. Chips using type_base can switch
over to a single config base register and a standard ->set_irq_type()
callback provided by regmap-irq, which uses the type info associated
with each 'struct regmap_irq' to update type registers in the same
way as the old code did.

Signed-off-by: Aidan MacDonald <aidanmacdonald.0x0@gmail.com>
Link: https://lore.kernel.org/r/20220721102558.25457-2-aidanmacdonald.0x0@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/wcd9335.c