mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-16 16:54:20 +08:00
ASoC: cs4265: Add a S/PDIF enable switch
This patch adds a S/PDIF enable switch as a SOC_SINGLE. Signed-off-by: Matt Flax <flatmax@flatmax.org> Reviewed-by: Charles Keepax <ckeepax@opensource.cirrus.com> Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
be47e75eb1
commit
f853d6b3ba
@ -154,6 +154,7 @@ static const struct snd_kcontrol_new cs4265_snd_controls[] = {
|
|||||||
SOC_SINGLE("E to F Buffer Disable Switch", CS4265_SPDIF_CTL1,
|
SOC_SINGLE("E to F Buffer Disable Switch", CS4265_SPDIF_CTL1,
|
||||||
6, 1, 0),
|
6, 1, 0),
|
||||||
SOC_ENUM("C Data Access", cam_mode_enum),
|
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,
|
SOC_SINGLE("Validity Bit Control Switch", CS4265_SPDIF_CTL2,
|
||||||
3, 1, 0),
|
3, 1, 0),
|
||||||
SOC_ENUM("SPDIF Mono/Stereo", spdif_mono_stereo_enum),
|
SOC_ENUM("SPDIF Mono/Stereo", spdif_mono_stereo_enum),
|
||||||
|
Loading…
Reference in New Issue
Block a user