Skip to contentSkip to conversation

ASoC: WM8804: Use a proper DAI name

PATCH Applied Dimitris Papastamos 3 participants 3 messages Oct 1, 2010 – Oct 2, 2010

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ASoC: WM8804: Use a proper DAI name

Make sure the DAI name does not include a '/' since we might have per DAI debugfs or sysfs entries in the future.

---
 sound/soc/codecs/wm8804.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
sound/soc/codecs/wm8804.c +1 -1
index ca7d9ee..40e5067 100644
@@ -669,7 +669,7 @@ static struct snd_soc_dai_ops wm8804_dai_ops = {
 			SNDRV_PCM_FMTBIT_S24_LE)
 
 static struct snd_soc_dai_driver wm8804_dai = {
-	.name = "wm8804-s/pdif",
+	.name = "wm8804-spdif",
 	.playback = {
 		.stream_name = "Playback",
 		.channels_min = 2,
Signature · 1 line
1.7.3.1
Acked-by on v1 1/1
#1 lore raw
Quoted 13 lines · Dimitris Papastamos

Make sure the DAI name does not include a '/' since we might have per DAI debugfs or sysfs entries in the future.

---
 sound/soc/codecs/wm8804.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
sound/soc/codecs/wm8804.c +0 -0
index ca7d9ee..40e5067 100644

sound/soc/codecs/wm8804.c static struct snd_soc_dai_ops wm8804_dai_ops = { · line 675

Quoted 8 lines
sound/soc/codecs/wm8804.c +1 -1
@@ -669,7 +669,7 @@ static struct snd_soc_dai_ops wm8804_dai_ops = {
 			SNDRV_PCM_FMTBIT_S24_LE)
 
 static struct snd_soc_dai_driver wm8804_dai = {
-	.name = "wm8804-s/pdif",
+	.name = "wm8804-spdif",
 	.playback = {
 		.stream_name = "Playback",
 		.channels_min = 2,
Signature · 3 lines
Freelance Developer, SlimLogic Ltd
ASoC and Voltage Regulator Maintainer.
http://www.slimlogic.co.uk