]> git.ipfire.org Git - thirdparty/linux.git/commit
ASoC: wm1250-ev1: Convert to GPIO descriptors
authorLinus Walleij <linus.walleij@linaro.org>
Fri, 8 Dec 2023 10:09:26 +0000 (11:09 +0100)
committerMark Brown <broonie@kernel.org>
Fri, 8 Dec 2023 14:31:58 +0000 (14:31 +0000)
commit10a366f36e2a2e240d9db6da90e501fa16655282
treefccb2c76ddb0af7f074e468472e8b38e69985ec2
parentb53d47775651aa51bb98cdeb968dedb45699d9a1
ASoC: wm1250-ev1: Convert to GPIO descriptors

This converts the WM1250-EV1 codec to use GPIO descriptors.
It turns out that the platform data was only used to pass some
global GPIO numbers from a board file, so we get rid of this
and also switch over the single in-tree user in the S3C
Cragganmore module for S3C 6410.

The driver obtains two GPIO lines named OSR and master and just
pull them low, we leave this behaviour as it was.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Reviewed-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Link: https://lore.kernel.org/r/20231208-descriptors-sound-wlf-v1-2-c4dab6f521ec@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>
arch/arm/mach-s3c/mach-crag6410.c
include/sound/wm1250-ev1.h [deleted file]
sound/soc/codecs/wm1250-ev1.c