Lines Matching +full:spdif +full:- +full:dit
1 // SPDX-License-Identifier: GPL-2.0+
3 // smdk_spdif.c - S/PDIF audio for SMDK
12 #include "spdif.h"
16 * like this function-'set_audio_clock_heirachy'.
27 return -EINVAL; in set_audio_clock_heirachy()
34 ret = -EINVAL; in set_audio_clock_heirachy()
38 sclk_audio0 = clk_get(&pdev->dev, "sclk_audio"); in set_audio_clock_heirachy()
42 ret = -EINVAL; in set_audio_clock_heirachy()
50 ret = -EINVAL; in set_audio_clock_heirachy()
82 return -ENOENT; in set_audio_clock_rate()
91 return -ENOENT; in set_audio_clock_rate()
118 return -EINVAL; in smdk_hw_params()
145 SND_SOC_DAILINK_DEFS(spdif,
146 DAILINK_COMP_ARRAY(COMP_CPU("samsung-spdif")),
147 DAILINK_COMP_ARRAY(COMP_CODEC("spdif-dit", "dit-hifi")),
148 DAILINK_COMP_ARRAY(COMP_PLATFORM("samsung-spdif")));
154 SND_SOC_DAILINK_REG(spdif),
158 .name = "SMDK-S/PDIF",
171 smdk_snd_spdif_dit_device = platform_device_alloc("spdif-dit", -1); in smdk_init()
173 return -ENOMEM; in smdk_init()
179 smdk_snd_spdif_device = platform_device_alloc("soc-audio", -1); in smdk_init()
181 ret = -ENOMEM; in smdk_init()