Skip to contentSkip to conversation

ASoC: pxa2xx-i2s is the proper name of the I2S DAI, not pxa-i2s.

PATCH Applied Ian Lartey 3 participants 5 messages Aug 20, 2010 – Aug 23, 2010

Subsystems (4)
lore
Share & tools
lore

Ian Lartey

author
#0 lore raw

PATCH 1/3 ASoC: pxa2xx-i2s is the proper name of the I2S DAI, not pxa-i2s.

---
 sound/soc/pxa/imote2.c   |    2 +-
 sound/soc/pxa/magician.c |    2 +-
 sound/soc/pxa/poodle.c   |    2 +-
 sound/soc/pxa/z2.c       |    2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)
sound/soc/pxa/imote2.c +1 -1
index 03765fc..154fc6f 100644
@@ -63,7 +63,7 @@ static struct snd_soc_ops imote2_asoc_ops = {
 static struct snd_soc_dai_link imote2_dai = {
 	.name = "WM8940",
 	.stream_name = "WM8940",
-	.cpu_dai_name = "pxa-i2s",
+	.cpu_dai_name = "pxa2xx-i2s",
 	.codec_dai_name = "wm8940-hifi",
 	.platform_name = "pxa-pcm-audio",
 	.codec_name = "wm8940-codec.0-0034",
sound/soc/pxa/magician.c +1 -1
index 608bc3d..b8207ce 100644
@@ -437,7 +437,7 @@ static struct snd_soc_dai_link magician_dai[] = {
 {
 	.name = "uda1380",
 	.stream_name = "UDA1380 Capture",
-	.cpu_dai_name = "pxa-i2s",
+	.cpu_dai_name = "pxa2xx-i2s",
 	.codec_dai_name = "uda1380-hifi-capture",
 	.platform_name = "pxa-pcm-audio",
 	.codec_name = "uda1380-codec.0-0018",
sound/soc/pxa/poodle.c +1 -1
index fa752f6..af84ee9 100644
@@ -266,7 +266,7 @@ static int poodle_wm8731_init(struct snd_soc_pcm_runtime *rtd)
 static struct snd_soc_dai_link poodle_dai = {
 	.name = "WM8731",
 	.stream_name = "WM8731",
-	.cpu_dai_name = "pxa-i2s",
+	.cpu_dai_name = "pxa2xx-i2s",
 	.codec_dai_name = "wm8731-hifi",
 	.platform_name = "pxa-pcm-audio",
 	.codec_name = "wm8731-codec.0-001a",
sound/soc/pxa/z2.c +1 -1
index 704f74b..4cc841b 100644
@@ -189,7 +189,7 @@ static struct snd_soc_ops z2_ops = {
 static struct snd_soc_dai_link z2_dai = {
 	.name		= "wm8750",
 	.stream_name	= "WM8750",
-	.cpu_dai_name	= "pxa-i2s",
+	.cpu_dai_name	= "pxa2xx-i2s",
 	.codec_dai_name	= "wm8750-hifi",
 	.platform_name = "pxa-pcm-audio",
 	.codec_name	= "wm8750-codec.0-001a",
Signature · 1 line
1.7.0.4
author
#1 lore raw

PATCH 2/3 ASoC: Make codec dai naming for WM8741 consistent

---
 sound/soc/codecs/wm8741.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
sound/soc/codecs/wm8741.c +1 -1
index 782fe53..fdd24da 100644
@@ -311,7 +311,7 @@ static struct snd_soc_dai_ops wm8741_dai_ops = {
 };
 
 static struct snd_soc_dai_driver wm8741_dai = {
-	.name = "WM8741",
+	.name = "wm8741",
 	.playback = {
 		.stream_name = "Playback",
 		.channels_min = 2,  /* Mono modes not yet supported */
Signature · 1 line
1.7.0.4
author
#2 lore raw

PATCH 3/3 ASoC: Enable autoloading of pxa2xx CPU I2S driver with module alias

In reply to Ian Lartey
---
 sound/soc/pxa/pxa2xx-i2s.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
sound/soc/pxa/pxa2xx-i2s.c +1 -0
index d1b2ca6..11be595 100644
@@ -398,3 +398,4 @@ module_exit(pxa2xx_i2s_exit);
 MODULE_AUTHOR("Liam Girdwood, [email protected]");
 MODULE_DESCRIPTION("pxa2xx I2S SoC Interface");
 MODULE_LICENSE("GPL");
+MODULE_ALIAS("platform:pxa2xx-i2s");
Signature · 1 line
1.7.0.4
Acked-by on v1 1/3
#3 lore raw
In reply to Ian Lartey
Quoted 7 lines · Ian Lartey
---
 sound/soc/pxa/imote2.c   |    2 +-
 sound/soc/pxa/magician.c |    2 +-
 sound/soc/pxa/poodle.c   |    2 +-
 sound/soc/pxa/z2.c       |    2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

All

Signature · 3 lines
Freelance Developer, SlimLogic Ltd
ASoC and Voltage Regulator Maintainer.
http://www.slimlogic.co.uk