ASoC: Remove -dai suffix from Samsung DAI devices
Subsystems (5)
PATCH 1/5 ASoC: Remove -dai suffix from Samsung DAI devices
The IP blocks are all fixed function audio controllers so there's no need to dedupe against other usages and the corresponding arch/arm updates got missed anyway so revert to the original names for the drivers.
--- sound/soc/s3c24xx/aquila_wm8994.c | 2 +- sound/soc/s3c24xx/goni_wm8994.c | 2 +- sound/soc/s3c24xx/jive_wm8750.c | 2 +- sound/soc/s3c24xx/ln2440sbc_alc650.c | 2 +- sound/soc/s3c24xx/neo1973_gta02_wm8753.c | 2 +- sound/soc/s3c24xx/neo1973_wm8753.c | 2 +- sound/soc/s3c24xx/s3c2412-i2s.c | 2 +- sound/soc/s3c24xx/s3c24xx-i2s.c | 2 +- sound/soc/s3c24xx/s3c24xx_simtec_hermes.c | 2 +- sound/soc/s3c24xx/s3c24xx_simtec_tlv320aic23.c | 2 +- sound/soc/s3c24xx/s3c24xx_uda134x.c | 2 +- sound/soc/s3c24xx/s3c64xx-i2s-v4.c | 2 +- sound/soc/s3c24xx/s3c64xx-i2s.c | 2 +- sound/soc/s3c24xx/smartq_wm8987.c | 2 +- sound/soc/s3c24xx/smdk64xx_wm8580.c | 4 ++-- 15 files changed, 16 insertions(+), 16 deletions(-)
sound/soc/s3c24xx/aquila_wm8994.c +1 -1
@@ -233,7 +233,7 @@ static struct snd_soc_dai_link aquila_dai[] = { { .name = "WM8994", .stream_name = "WM8994 HiFi", - .cpu_dai_name = "s3c64xx-i2s-v4-dai", + .cpu_dai_name = "s3c64xx-i2s-v4", .codec_dai_name = "wm8994-hifi", .platform_name = "s3c24xx-pcm-audio", .codec_name = "wm8994-codec.0-0x1a",
sound/soc/s3c24xx/goni_wm8994.c +1 -1
@@ -236,7 +236,7 @@ static struct snd_soc_dai_link goni_dai[] = { { .name = "WM8994", .stream_name = "WM8994 HiFi", - .cpu_dai_name = "s3c64xx-i2s-v4-dai", + .cpu_dai_name = "s3c64xx-i2s-v4", .codec_dai_name = "wm8994-hifi", .platform_name = "s3c24xx-pcm-audio", .codec_name = "wm8994-codec.0-0x1a",
sound/soc/s3c24xx/jive_wm8750.c +1 -1
@@ -139,7 +139,7 @@ static int jive_wm8750_init(struct snd_soc_pcm_runtime *rtd)static struct snd_soc_dai_link jive_dai = { .name ="wm8750" , .stream_name ="WM8750" , - .cpu_dai_name ="s3c2412-i2s-dai" , + .cpu_dai_name ="s3c2412-i2s" , .codec_dai_name ="wm8750-hifi" , .platform_name ="s3c24xx-pcm-audio" , .codec_name ="wm8750-codec.0-0x1a" ,
sound/soc/s3c24xx/ln2440sbc_alc650.c +1 -1
@@ -32,7 +32,7 @@ static struct snd_soc_dai_link ln2440sbc_dai[] = { { .name = "AC97", .stream_name = "AC97 HiFi", - .cpu_dai_name = "s3c-ac97-dai", + .cpu_dai_name = "s3c-ac97", .codec_dai_name = "ac97-hifi", .codec_name = "ac97-codec", .platform_name = "s3c24xx-pcm-audio",
sound/soc/s3c24xx/neo1973_gta02_wm8753.c +1 -1
@@ -397,7 +397,7 @@ static struct snd_soc_dai_link neo1973_gta02_dai[] = { {/* Hifi Playback - for similatious use with voice below */ .name = "WM8753", .stream_name = "WM8753 HiFi", - .cpu_dai_name = "s3c24xx-i2s-dai", + .cpu_dai_name = "s3c24xx-i2s", .codec_dai_name = "wm8753-hifi", .init = neo1973_gta02_wm8753_init, .platform_name = "s3c24xx-pcm-audio",
sound/soc/s3c24xx/neo1973_wm8753.c +1 -1
@@ -557,7 +557,7 @@ static struct snd_soc_dai_link neo1973_dai[] = { .name = "WM8753", .stream_name = "WM8753 HiFi", .platform_name = "s3c24xx-pcm-audio", - .cpu_dai_name = "s3c24xx-i2s-dai", + .cpu_dai_name = "s3c24xx-i2s", .codec_dai_name = "wm8753-hifi", .codec_name = "wm8753-codec.0-0x1a", .init = neo1973_wm8753_init,
sound/soc/s3c24xx/s3c2412-i2s.c +1 -1
@@ -188,7 +188,7 @@ static struct platform_driver s3c2412_iis_driver = { .probe = s3c2412_iis_dev_probe, .remove = s3c2412_iis_dev_remove, .driver = { - .name = "s3c2412-iis-dai", + .name = "s3c2412-iis", .owner = THIS_MODULE, }, };
sound/soc/s3c24xx/s3c24xx-i2s.c +1 -1
@@ -495,7 +495,7 @@ static struct platform_driver s3c24xx_iis_driver = { .probe = s3c24xx_iis_dev_probe, .remove = s3c24xx_iis_dev_remove, .driver = { - .name = "s3c24xx-iis-dai", + .name = "s3c24xx-iis", .owner = THIS_MODULE, }, };
sound/soc/s3c24xx/s3c24xx_simtec_hermes.c +1 -1
@@ -97,7 +97,7 @@ static struct snd_soc_dai_link simtec_dai_aic33 = { .name = "tlv320aic33", .stream_name = "TLV320AIC33", .codec_name = "tlv320aic3x-codec.0-0x1a", - .cpu_dai_name = "s3c24xx-i2s-dai", + .cpu_dai_name = "s3c24xx-i2s", .codec_dai_name = "tlv320aic3x-hifi", .platform_name = "s3c24xx-pcm-audio", .init = simtec_hermes_init,
sound/soc/s3c24xx/s3c24xx_simtec_tlv320aic23.c +1 -1
@@ -86,7 +86,7 @@ static struct snd_soc_dai_link simtec_dai_aic23 = { .name = "tlv320aic23", .stream_name = "TLV320AIC23", .codec_name = "tlv320aic3x-codec.0-0x1a", - .cpu_dai_name = "s3c24xx-i2s-dai", + .cpu_dai_name = "s3c24xx-i2s", .codec_dai_name = "tlv320aic3x-hifi", .platform_name = "s3c24xx-pcm-audio", .init = simtec_tlv320aic23_init,
sound/soc/s3c24xx/s3c24xx_uda134x.c +1 -1
@@ -229,7 +229,7 @@ static struct snd_soc_dai_link s3c24xx_uda134x_dai_link = { .stream_name = "UDA134X", .codec_name = "uda134x-hifi", .codec_dai_name = "uda134x-hifi", - .cpu_dai_name = "s3c24xx-i2s-dai", + .cpu_dai_name = "s3c24xx-i2s", .ops = &s3c24xx_uda134x_ops, .platform_name = "s3c24xx-pcm-audio", };
sound/soc/s3c24xx/s3c64xx-i2s-v4.c +1 -1
@@ -195,7 +195,7 @@ static struct platform_driver s3c64xx_i2sv4_driver = { .probe = s3c64xx_i2sv4_dev_probe, .remove = s3c64xx_i2sv4_dev_remove, .driver = { - .name = "s3c64xx-iis-v4-dai", + .name = "s3c64xx-iis-v4", .owner = THIS_MODULE, }, };
sound/soc/s3c24xx/s3c64xx-i2s.c +1 -1
@@ -218,7 +218,7 @@ static struct platform_driver s3c64xx_iis_driver = { .probe = s3c64xx_iis_dev_probe, .remove = s3c64xx_iis_dev_remove, .driver = { - .name = "s3c64xx-iis-dai", + .name = "s3c64xx-iis", .owner = THIS_MODULE, }, };
sound/soc/s3c24xx/smartq_wm8987.c +1 -1
@@ -211,7 +211,7 @@ static struct snd_soc_dai_link smartq_dai[] = { { .name = "wm8987", .stream_name = "SmartQ Hi-Fi", - .cpu_dai_name = "s3c64xx-i2s-dai.0", + .cpu_dai_name = "s3c64xx-i2s.0", .codec_dai_name = "wm8750-hifi", .platform_name = "s3c24xx-pcm-audio", .codec_name = "wm8750-codec.0-0x1a",
sound/soc/s3c24xx/smdk64xx_wm8580.c +2 -2
@@ -223,7 +223,7 @@ static struct snd_soc_dai_link smdk64xx_dai[] = { {/* Primary Playback i/f */ .name = "WM8580 PAIF RX", .stream_name = "Playback", - .cpu_dai_name = "s3c64xx-i2s-v4-dai", + .cpu_dai_name = "s3c64xx-iis-v4", .codec_dai_name = "wm8580-hifi-playback", .platform_name = "s3c24xx-pcm-audio", .codec_name = "wm8580-codec.0-001b",
@@ -233,7 +233,7 @@ static struct snd_soc_dai_link smdk64xx_dai[] = { {/* Primary Capture i/f */ .name = "WM8580 PAIF TX", .stream_name = "Capture", - .cpu_dai_name = "s3c64xx-i2s-v4-dai", + .cpu_dai_name = "s3c64xx-iis-v4", .codec_dai_name = "wm8580-hifi-capture", .platform_name = "s3c24xx-pcm-audio", .codec_name = "wm8580-codec.0-001b",
Signature · 1 line
1.7.1
PATCH 2/5 ASoC: Add MODULE_ALIAS to Samsung DAI drivers
--- sound/soc/s3c24xx/s3c-ac97.c | 1 + sound/soc/s3c24xx/s3c-dma.c | 1 + sound/soc/s3c24xx/s3c-pcm.c | 1 + sound/soc/s3c24xx/s3c2412-i2s.c | 1 + sound/soc/s3c24xx/s3c24xx-i2s.c | 1 + sound/soc/s3c24xx/s3c64xx-i2s-v4.c | 1 + sound/soc/s3c24xx/s3c64xx-i2s.c | 1 + 7 files changed, 7 insertions(+), 0 deletions(-)
sound/soc/s3c24xx/s3c-ac97.c +1 -0
@@ -513,3 +513,4 @@ module_exit(s3c_ac97_exit);MODULE_AUTHOR ("Jaswinder Singh, <[email protected]>" );MODULE_DESCRIPTION ("AC97 driver for the Samsung SoC" );MODULE_LICENSE ("GPL" ); +MODULE_ALIAS ("platform:s3c-ac97" );
sound/soc/s3c24xx/s3c-dma.c +1 -0
@@ -500,3 +500,4 @@ module_exit(snd_s3c24xx_pcm_exit);MODULE_AUTHOR ("Ben Dooks, <[email protected]>" );MODULE_DESCRIPTION ("Samsung S3C Audio DMA module" );MODULE_LICENSE ("GPL" ); +MODULE_ALIAS ("platform:s3c24xx-pcm-audio" );
sound/soc/s3c24xx/s3c-pcm.c +1 -0
@@ -543,3 +543,4 @@ module_exit(s3c_pcm_exit);MODULE_AUTHOR ("Jaswinder Singh, <[email protected]>" );MODULE_DESCRIPTION ("S3C PCM Controller Driver" );MODULE_LICENSE ("GPL" ); +MODULE_ALIAS ("platform:samsung-pcm-audio" );
sound/soc/s3c24xx/s3c2412-i2s.c +1 -0
@@ -209,3 +209,4 @@ module_exit(s3c2412_i2s_exit);MODULE_AUTHOR ("Ben Dooks, <[email protected]>" );MODULE_DESCRIPTION ("S3C2412 I2S SoC Interface" );MODULE_LICENSE ("GPL" ); +MODULE_ALIAS ("platform:s3c2412-iis" );
sound/soc/s3c24xx/s3c24xx-i2s.c +1 -0
@@ -516,3 +516,4 @@ module_exit(s3c24xx_i2s_exit);MODULE_AUTHOR ("Ben Dooks, <[email protected]>" );MODULE_DESCRIPTION ("s3c24xx I2S SoC Interface" );MODULE_LICENSE ("GPL" ); +MODULE_ALIAS ("platform:s3c24xx-iis" );
sound/soc/s3c24xx/s3c64xx-i2s-v4.c +1 -0
@@ -216,3 +216,4 @@ module_exit(s3c64xx_i2sv4_exit);MODULE_AUTHOR ("Jaswinder Singh, <[email protected]>" );MODULE_DESCRIPTION ("S3C64XX I2Sv4 SoC Interface" );MODULE_LICENSE ("GPL" ); +MODULE_ALIAS ("platform:s3c64xx-iis-v4" );
sound/soc/s3c24xx/s3c64xx-i2s.c +1 -0
@@ -239,3 +239,4 @@ module_exit(s3c64xx_i2s_exit);MODULE_AUTHOR ("Ben Dooks, <[email protected]>" );MODULE_DESCRIPTION ("S3C64XX I2S SoC Interface" );MODULE_LICENSE ("GPL" ); +MODULE_ALIAS ("platform:s3c64xx-iis" );
Signature · 1 line
1.7.1
PATCH 3/5 S3C64XX: Add missing S3C64XX DMA device
In reply to Mark Brown--- arch/arm/mach-s3c64xx/dev-audio.c | 13 +++++++++++++ arch/arm/plat-samsung/include/plat/devs.h | 2 ++ 2 files changed, 15 insertions(+), 0 deletions(-)
arch/arm/mach-s3c64xx/dev-audio.c +13 -0
@@ -333,3 +333,16 @@ void __init s3c64xx_ac97_setup_gpio(int num)else s3c_ac97_pdata.cfg_gpio = s3c64xx_ac97_cfg_gpe; } + +static u64 s3c_device_audio_dmamask =0xffffffffUL ; + +struct platform_device s3c_device_pcm = { + .name ="s3c24xx-pcm-audio" , + .id =-1 , + .dev = { + .dma_mask = &s3c_device_audio_dmamask, + .coherent_dma_mask =0xffffffffUL + } +}; +EXPORT_SYMBOL (s3c_device_pcm); +
arch/arm/plat-samsung/include/plat/devs.h +2 -0
@@ -32,6 +32,8 @@ extern struct platform_device s3c64xx_device_iisv4;extern struct platform_device s3c64xx_device_spi0;extern struct platform_device s3c64xx_device_spi1; +extern struct platform_device s3c_device_pcm; +extern struct platform_device s3c64xx_device_pcm0;extern struct platform_device s3c64xx_device_pcm1;
Signature · 1 line
1.7.1
PATCH 4/5 SMDK6410: Register audio DMA device
In reply to Mark BrownNeeded for multi-component.
--- arch/arm/mach-s3c64xx/mach-smdk6410.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
arch/arm/mach-s3c64xx/mach-smdk6410.c +1 -0
@@ -256,6 +256,7 @@ static struct platform_device *smdk6410_devices[] __initdata = { &s3c_device_fb, &s3c_device_ohci, &s3c_device_usb_hsotg, + &s3c_device_pcm, &s3c64xx_device_iisv4, #ifdef CONFIG_REGULATOR
Signature · 1 line
1.7.1
PATCH 5/5 ASoC: Fix indentiation in S3C DMA driver
In reply to Mark Brown--- sound/soc/s3c24xx/s3c-dma.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
sound/soc/s3c24xx/s3c-dma.c +2 -2
@@ -477,8 +477,8 @@ static int __devexit s3c24xx_soc_platform_remove(struct platform_device *pdev)static struct platform_driver s3c24xx_pcm_driver = { .driver = { - .name ="s3c24xx-pcm-audio" , - .owner =THIS_MODULE , + .name ="s3c24xx-pcm-audio" , + .owner =THIS_MODULE , }, .probe = s3c24xx_soc_platform_probe,
Signature · 1 line
1.7.1
Re: [PATCH 5/5] ASoC: Fix indentiation in S3C DMA driver
Quoted 10 lines · Mark Brown
Signed-off-by Mark Brown <[email protected]>---
sound/soc/s3c24xx/s3c-dma.c | 4 ++--1 files changed, 2 insertions(+), 2 deletions(-)sound/soc/s3c24xx/s3c-dma.c +0
-0
sound/soc/s3c24xx/s3c-dma.c static int __devexit s3c24xx_soc_platform_remove(struct platform_device *pdev) · line 484
Quoted 10 lines
sound/soc/s3c24xx/s3c-dma.c +2
-2@@ -477,8 +477,8 @@ static int __devexit s3c24xx_soc_platform_remove(struct platform_device *pdev) static struct platform_driver s3c24xx_pcm_driver = { .driver = { - .name = "s3c24xx-pcm-audio", - .owner = THIS_MODULE, + .name = "s3c24xx-pcm-audio", + .owner = THIS_MODULE, }, .probe = s3c24xx_soc_platform_probe,
Ok but I think we need to involve Ben too, for I have the impression that he is not very interested in such valid but inconsequential changes.
If he agrees, maybe we can prepare a patchset for complete polish and overhauling the drivers.
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
Re: [PATCH 5/5] ASoC: Fix indentiation in S3C DMA driver
Quoted 21 lines · Jassi Brar
Quoted 19 lines · Mark Brown
Signed-off-by Mark Brown <[email protected]>---
sound/soc/s3c24xx/s3c-dma.c | 4 ++--1 files changed, 2 insertions(+), 2 deletions(-)sound/soc/s3c24xx/s3c-dma.c +2
-2@@ -477,8 +477,8 @@ static int __devexit s3c24xx_soc_platform_remove(struct platform_device *pdev) static struct platform_driver s3c24xx_pcm_driver = { .driver = { - .name = "s3c24xx-pcm-audio", - .owner = THIS_MODULE, + .name = "s3c24xx-pcm-audio", + .owner = THIS_MODULE, },
Quoted 6 lines
sound/soc/s3c24xx/s3c-dma.c static int __devexit s3c24xx_soc_platform_remove(struct platform_device *pdev) · line 484
Quoted 1 line
sound/soc/s3c24xx/s3c-dma.c +0
-0.probe = s3c24xx_soc_platform_probe,Ok but I think we need to involve Ben too, for I have the impression that he is not very interested in such valid but inconsequential changes.
If he agrees, maybe we can prepare a patchset for complete polish and overhauling the drivers.
Yes, I agree. And I really hope that we can make a fine conclusion about naming and location in this time with, if we have a time enough.
Quoted 5 lines
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
Re: [PATCH 5/5] ASoC: Fix indentiation in S3C DMA driver
In reply to Jassi BrarQuoted 10 lines · Jassi Brar
On Thu, Aug 12, 2010 at 7:02 PM, Mark Brown
Quoted 8 lines
static struct platform_driver s3c24xx_pcm_driver = { .driver = {sound/soc/s3c24xx/s3c-dma.c +2
-2- .name = "s3c24xx-pcm-audio", - .owner = THIS_MODULE, + .name = "s3c24xx-pcm-audio", + .owner = THIS_MODULE, },
Quoted 6 lines
Quoted 1 line
.probe =
s3c24xx_soc_platform_probe,Ok but I think we need to involve Ben too, for I have the impression that he is not very interested in such valid but inconsequential changes.
If he agrees, maybe we can prepare a patchset for complete polish and overhauling the drivers.
I'm afraid I can't follow what you're saying here at all. The above change is an indentation only change in the ASoC code. I can't see why Ben would need to be involved, it doesn't touch arch/arm at all.
Hi Mark,
Quoted 29 lines · Mark Brown
The IP blocks are all fixed function audio controllers so there's no need to dedupe against other usages and the corresponding
arch/armupdates got missed anyway so revert to the original names for the drivers.Signed-off-by Mark Brown <[email protected]>---
sound/soc/s3c24xx/aquila_wm8994.c | 2 +-sound/soc/s3c24xx/goni_wm8994.c| 2 +-sound/soc/s3c24xx/jive_wm8750.c| 2 +-sound/soc/s3c24xx/ln2440sbc_alc650.c| 2 +-sound/soc/s3c24xx/neo1973_gta02_wm8753.c| 2 +-sound/soc/s3c24xx/neo1973_wm8753.c| 2 +-sound/soc/s3c24xx/s3c2412-i2s.c| 2 +-sound/soc/s3c24xx/s3c24xx-i2s.c| 2 +-sound/soc/s3c24xx/s3c24xx_simtec_hermes.c| 2 +-sound/soc/s3c24xx/s3c24xx_simtec_tlv320aic23.c| 2 +-sound/soc/s3c24xx/s3c24xx_uda134x.c| 2 +-sound/soc/s3c24xx/s3c64xx-i2s-v4.c| 2 +-sound/soc/s3c24xx/s3c64xx-i2s.c| 2 +-sound/soc/s3c24xx/smartq_wm8987.c| 2 +-sound/soc/s3c24xx/smdk64xx_wm8580.c| 4 ++--15 files changed, 16 insertions(+), 16 deletions(-)sound/soc/s3c24xx/aquila_wm8994.c +0
-0
sound/soc/s3c24xx/aquila_wm8994.c static struct snd_soc_dai_link aquila_dai[] = { · line 236
Quoted 5 lines
sound/soc/s3c24xx/aquila_wm8994.c +1
-1@@ -233,7 +233,7 @@ static struct snd_soc_dai_link aquila_dai[] = { { .name = "WM8994", .stream_name = "WM8994 HiFi", - .cpu_dai_name = "s3c64xx-i2s-v4-dai", + .cpu_dai_name = "s3c64xx-i2s-v4",
This aquila board also use I2Sv4 from 's3c64xx-i2s-v4.c', so I think it'll not work if cpu_dai_name is 's3c64xx-i2s-v4' not 's3c64xx-iis-v4'.
In this case, do we have to request to check this to Mr. Chanwoo or just modify this first?
And I think other machine codes also need to revert to original, if you want to work machine codes with 's3c24xx_iis_driver', 's3c2412_iis_driver' and 's3c64xx_iis_driver'.
Quoted 3 lines
sound/soc/s3c24xx/aquila_wm8994.c +0
-0.codec_dai_name = "wm8994-hifi", .platform_name = "s3c24xx-pcm-audio", .codec_name = "wm8994-codec.0-0x1a",
(snip)
Quoted 18 lines
sound/soc/s3c24xx/s3c64xx-i2s-v4.c +1
-1@@ -195,7 +195,7 @@ static struct platform_driver s3c64xx_i2sv4_driver = { .probe = s3c64xx_i2sv4_dev_probe, .remove = s3c64xx_i2sv4_dev_remove, .driver = { - .name = "s3c64xx-iis-v4-dai", + .name = "s3c64xx-iis-v4", .owner = THIS_MODULE, }, };sound/soc/s3c24xx/s3c64xx-i2s.c +0
-0
sound/soc/s3c24xx/s3c64xx-i2s.c static struct platform_driver s3c64xx_iis_driver = { · line 224
Quoted 8 lines
sound/soc/s3c24xx/s3c64xx-i2s.c +1
-1@@ -218,7 +218,7 @@ static struct platform_driver s3c64xx_iis_driver = { .probe = s3c64xx_iis_dev_probe, .remove = s3c64xx_iis_dev_remove, .driver = { - .name = "s3c64xx-iis-dai", + .name = "s3c64xx-iis", .owner = THIS_MODULE, }, };
Thanks,
Claude
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
Hi,
Quoted 28 lines · Seungwhan Youn
Hi Mark,
Quoted 24 lines · Mark Brown
The IP blocks are all fixed function audio controllers so there's no need to dedupe against other usages and the corresponding
arch/armupdates got missed anyway so revert to the original names for the drivers.Signed-off-by Mark Brown<[email protected]>--- sound/soc/s3c24xx/aquila_wm8994.c | 2 +- sound/soc/s3c24xx/goni_wm8994.c | 2 +- sound/soc/s3c24xx/jive_wm8750.c | 2 +- sound/soc/s3c24xx/ln2440sbc_alc650.c | 2 +- sound/soc/s3c24xx/neo1973_gta02_wm8753.c | 2 +- sound/soc/s3c24xx/neo1973_wm8753.c | 2 +- sound/soc/s3c24xx/s3c2412-i2s.c | 2 +- sound/soc/s3c24xx/s3c24xx-i2s.c | 2 +- sound/soc/s3c24xx/s3c24xx_simtec_hermes.c | 2 +- sound/soc/s3c24xx/s3c24xx_simtec_tlv320aic23.c | 2 +- sound/soc/s3c24xx/s3c24xx_uda134x.c | 2 +- sound/soc/s3c24xx/s3c64xx-i2s-v4.c | 2 +- sound/soc/s3c24xx/s3c64xx-i2s.c | 2 +- sound/soc/s3c24xx/smartq_wm8987.c | 2 +- sound/soc/s3c24xx/smdk64xx_wm8580.c | 4 ++-- 15 files changed, 16 insertions(+), 16 deletions(-)
Quoted 14 lines
sound/soc/s3c24xx/aquila_wm8994.c static struct snd_soc_dai_link aquila_dai[] = { · line 236
Quoted 10 lines
sound/soc/s3c24xx/aquila_wm8994.c +1
-1@@ -233,7 +233,7 @@ static struct snd_soc_dai_link aquila_dai[] = { { .name = "WM8994", .stream_name = "WM8994 HiFi", - .cpu_dai_name = "s3c64xx-i2s-v4-dai", + .cpu_dai_name = "s3c64xx-i2s-v4",This aquila board also use I2Sv4 from '
s3c64xx-i2s-v4.c', so I think it'll not work ifcpu_dai_nameis 's3c64xx-i2s-v4' not 's3c64xx-iis-v4'.
It confused me a little to use two names "iis" and "i2s". Can we unify to one?
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
Quoted 18 lines · Joonyoung Shim
Quoted 16 lines · Seungwhan Youn
On Thu, Aug 12, 2010 at 7:02 PM, Mark Brown
sound/soc/s3c24xx/aquila_wm8994.c static struct snd_soc_dai_link aquila_dai[] = { · line 236
Quoted 10 lines
sound/soc/s3c24xx/aquila_wm8994.c +1
-1@@ -233,7 +233,7 @@ static struct snd_soc_dai_link aquila_dai[] = { { .name = "WM8994", .stream_name = "WM8994 HiFi", - .cpu_dai_name = "s3c64xx-i2s-v4-dai", + .cpu_dai_name = "s3c64xx-i2s-v4",This aquila board also use I2Sv4 from '
s3c64xx-i2s-v4.c', so I think it'll not work ifcpu_dai_nameis 's3c64xx-i2s-v4' not 's3c64xx-iis-v4'.
Quoted 1 line
It confused me a little to use two names "iis" and "i2s". Can we unify to one?
There's no change between -i2s and -iis introduced by this patch, all this patch did was strip the -dai suffix from the names. It looks like this is an error in the Aquilla driver which should be corrected.
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
2010/8/13 Mark Brown <[email protected]>:
Quoted 19 lines · Joonyoung Shim
Quoted 17 lines · Seungwhan Youn
Quoted 16 lines
On Thu, Aug 12, 2010 at 7:02 PM, Mark Brown
sound/soc/s3c24xx/aquila_wm8994.c static struct snd_soc_dai_link aquila_dai[] = { · line 236
Quoted 10 lines
sound/soc/s3c24xx/aquila_wm8994.c +1
-1@@ -233,7 +233,7 @@ static struct snd_soc_dai_link aquila_dai[] = { { .name = "WM8994", .stream_name = "WM8994 HiFi", - .cpu_dai_name = "s3c64xx-i2s-v4-dai", + .cpu_dai_name = "s3c64xx-i2s-v4",This aquila board also use I2Sv4 from '
s3c64xx-i2s-v4.c', so I think it'll not work ifcpu_dai_nameis 's3c64xx-i2s-v4' not 's3c64xx-iis-v4'.
Quoted 3 lines
Quoted 1 line
It confused me a little to use two names "iis" and "i2s". Can we unify to one?
There's no change between -i2s and -iis introduced by this patch, all this patch did was strip the -dai suffix from the names. It looks like this is an error in the Aquilla driver which should be corrected.
I didn't mean to tell about this patch. I would like to just say about i2s and iis naming on samsung platform driver.
Thanks.
Signature · 5 lines
- Joonyoung Shim _______________________________________________ Alsa-devel mailing list [email protected] http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
Quoted 19 lines · Mark Brown
Quoted 17 lines · Joonyoung Shim
Quoted 16 lines · Seungwhan Youn
On Thu, Aug 12, 2010 at 7:02 PM, Mark Brown
sound/soc/s3c24xx/aquila_wm8994.c static struct snd_soc_dai_link aquila_dai[] = { · line 236
Quoted 10 lines
sound/soc/s3c24xx/aquila_wm8994.c +1
-1@@ -233,7 +233,7 @@ static struct snd_soc_dai_link aquila_dai[] = { { .name = "WM8994", .stream_name = "WM8994 HiFi", - .cpu_dai_name = "s3c64xx-i2s-v4-dai", + .cpu_dai_name = "s3c64xx-i2s-v4",This aquila board also use I2Sv4 from '
s3c64xx-i2s-v4.c', so I think it'll not work ifcpu_dai_nameis 's3c64xx-i2s-v4' not 's3c64xx-iis-v4'.
Quoted 3 lines
Quoted 1 line
It confused me a little to use two names "iis" and "i2s". Can we unify to one?
There's no change between -i2s and -iis introduced by this patch, all this patch did was strip the -dai suffix from the names. It looks like this is an error in the Aquilla driver which should be corrected.
I see. I just think that this patch modify to fix naming of i2s platform driver with setting corresponding arm/arch like your modification of 'smdk64xx_wm8580.c' in this patch. I think that aquila board was wrong example, but I'm afraid that other boards which was modified cpu_dai_name from Liam's multi-comp patches, also look not-correct. Because I don't know they are using platform driver on arch/arm, but I think that they(other machine code, like jive_wm8750.c) use I2S driver named 's3c24xx-iis', 's3c2412-iis' and 's3c64xx-iis'.
Of course, that things can be handled another patch with another guy who can verify its work. But, I think that fix on this patch will be more nice to me.
I'm sorry, if I'm bothering you, and thank you for your comment,
Claude
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
Quoted 6 lines · Seungwhan Youn
On Fri, Aug 13, 2010 at 5:59 PM, Mark Brown
Quoted 3 lines
There's no change between -i2s and -iis introduced by this patch, all this patch did was strip the -dai suffix from the names. It looks like this is an error in the Aquilla driver which should be corrected.
Quoted 9 lines
I see. I just think that this patch modify to fix naming of i2s platform driver with setting corresponding arm/arch like your modification of '
smdk64xx_wm8580.c' in this patch. I think that aquila board was wrong example, but I'm afraid that other boards which was modifiedcpu_dai_namefrom Liam's multi-comp patches, also look not-correct. Because I don't know they are using platform driver onarch/arm, but I think thatthey(other machine code, like jive_wm8750.c)use I2S driver named 's3c24xx-iis', 's3c2412-iis' and 's3c64xx-iis'.
Like I say this is an orthogonal issue to this patch.
Quoted 3 lines
Of course, that things can be handled another patch with another guy who can verify its work. But, I think that fix on this patch will be more nice to me.
No, one patch for one change. With this sort of fairly wide patch it is much easier to review if each line of the patch only does one thing so that each change can be quickly compared against the single repetitive change which is expected. If multiple changes are done in the same commit then each line needs to be thought about more to determine if the correct set of changes are being applied in that change.