diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2023-12-01 14:20:35 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2023-12-01 17:59:21 +0100 |
commit | 42d1178d223ba9498c1ed40a5fc243a43d35ec97 (patch) | |
tree | 28d8504fdbb1314b65368b223f94ff91cc14519b /include/sound | |
parent | ASoC: cs35l36: Drop legacy includes (diff) | |
download | linux-42d1178d223ba9498c1ed40a5fc243a43d35ec97.tar.xz linux-42d1178d223ba9498c1ed40a5fc243a43d35ec97.zip |
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>
Diffstat (limited to 'include/sound')
-rw-r--r-- | include/sound/cs4271.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/sound/cs4271.h b/include/sound/cs4271.h index 6ff23ab48894..5a55d135bdea 100644 --- a/include/sound/cs4271.h +++ b/include/sound/cs4271.h @@ -9,7 +9,6 @@ #define __CS4271_H struct cs4271_platform_data { - int gpio_nreset; /* GPIO driving Reset pin, if any */ bool amutec_eq_bmutec; /* flag to enable AMUTEC=BMUTEC */ /* |