]> git.itanic.dy.fi Git - linux-stable/commit
ASoC: cs4271: Convert to GPIO descriptors
authorLinus Walleij <linus.walleij@linaro.org>
Fri, 1 Dec 2023 13:20:35 +0000 (14:20 +0100)
committerMark Brown <broonie@kernel.org>
Fri, 1 Dec 2023 16:59:21 +0000 (16:59 +0000)
commit42d1178d223ba9498c1ed40a5fc243a43d35ec97
tree28d8504fdbb1314b65368b223f94ff91cc14519b
parent194ef700d4e255686173a03b65e15cac637cc15a
ASoC: cs4271: Convert to GPIO descriptors

This converts the Cirrus CS4271 ASoC codec driver to use
GPIO descriptors.

It turns out that there are two in-kernel users of the platform
data passing mechanism so these are switched over as well.

One locally defined GPIO "gpio_disabled" is declared in the
state struct but completely unused in the driver, so we delete
it.

Reviewed-by: Alexander Sverdlin <alexander.sverdlin@gmail.com>
Acked-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20231201-descriptors-sound-cirrus-v2-6-ee9f9d4655eb@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>
arch/arm/mach-ep93xx/edb93xx.c
arch/arm/mach-ep93xx/vision_ep9307.c
include/sound/cs4271.h
sound/soc/codecs/cs4271.c