From 1a05831fcccffe033b78383e0f0165dc243656ae Mon Sep 17 00:00:00 2001
From: Mikhail Vanyulin <mikhail.vanyulin@rtsoft.de>
Date: Wed, 25 Sep 2024 13:51:39 +0200
Subject: [PATCH] ASoC: hdmi-codec: fix double definitions of capture streams

This commit fixes following error in dmesg:
    debugfs: File 'Capture' in directory 'dapm' already present!

Signed-off-by: Mikhail Vanyulin <mikhail.vanyulin@rtsoft.de>
---
 sound/soc/codecs/hdmi-codec.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sound/soc/codecs/hdmi-codec.c b/sound/soc/codecs/hdmi-codec.c
index 709de03d92ae69..c26016a364f715 100644
--- a/sound/soc/codecs/hdmi-codec.c
+++ b/sound/soc/codecs/hdmi-codec.c
@@ -822,7 +822,7 @@ static const struct snd_soc_dai_driver hdmi_i2s_dai = {
 	},
 	.ops = &hdmi_codec_i2s_dai_ops,
 	.capture = {
-		.stream_name = "Capture",
+		.stream_name = "I2S Capture",
 		.channels_min = 2,
 		.channels_max = 8,
 		.rates = HDMI_RATES,
@@ -846,7 +846,7 @@ static const struct snd_soc_dai_driver hdmi_spdif_dai = {
 	},
 	.ops = &hdmi_codec_spdif_dai_ops,
 	.capture = {
-		.stream_name = "Capture",
+		.stream_name = "SPDIF Capture",
 		.channels_min = 2,
 		.channels_max = 2,
 		.rates = HDMI_RATES,
-- 
GitLab