[alsa-devel] [PATCH 2/2] ASoC: stm32: spdifrx: Use default dai name

Olivier Moysan olivier.moysan at st.com
Wed Jan 31 17:47:03 CET 2018


Use dai name provided by framework from dev_name() function.

Signed-off-by: olivier moysan <olivier.moysan at st.com>
---
 sound/soc/stm/stm32_spdifrx.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/sound/soc/stm/stm32_spdifrx.c b/sound/soc/stm/stm32_spdifrx.c
index 42ad2ae..373df4f 100644
--- a/sound/soc/stm/stm32_spdifrx.c
+++ b/sound/soc/stm/stm32_spdifrx.c
@@ -819,7 +819,6 @@ static void stm32_spdifrx_shutdown(struct snd_pcm_substream *substream,
 
 static struct snd_soc_dai_driver stm32_spdifrx_dai[] = {
 	{
-		.name = "spdifrx-capture-cpu-dai",
 		.probe = stm32_spdifrx_dai_probe,
 		.capture = {
 			.stream_name = "CPU-Capture",
-- 
1.9.1



More information about the Alsa-devel mailing list