[alsa-devel] [PATCH v2 3/3] ASoC: cs4265: Add a SPDIF enable switch
Matt Flax
flatmax at flatmax.org
Thu Aug 30 01:38:02 CEST 2018
This patch adds a SPDIF enable switch as a SOC_SINGLE.
Signed-off-by: Matt Flax <flatmax at flatmax.org>
---
v2:
- Changed to a SOC_SINGLE call
---
sound/soc/codecs/cs4265.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/sound/soc/codecs/cs4265.c b/sound/soc/codecs/cs4265.c
index 17d7e6f0..d9eebf6a 100644
--- a/sound/soc/codecs/cs4265.c
+++ b/sound/soc/codecs/cs4265.c
@@ -154,6 +154,7 @@ static const struct snd_kcontrol_new cs4265_snd_controls[] = {
SOC_SINGLE("E to F Buffer Disable Switch", CS4265_SPDIF_CTL1,
6, 1, 0),
SOC_ENUM("C Data Access", cam_mode_enum),
+ SOC_SINGLE("SPDIF Switch", CS4265_SPDIF_CTL2, 5, 1, 1),
SOC_SINGLE("Validity Bit Control Switch", CS4265_SPDIF_CTL2,
3, 1, 0),
SOC_ENUM("SPDIF Mono/Stereo", spdif_mono_stereo_enum),
--
2.17.1
More information about the Alsa-devel
mailing list