[alsa-devel] [PATCH 3/3] ASoC: SAMSUNG: Match spdif source clock id and asoc platform device

Seungwhan Youn sw.youn at samsung.com
Fri Dec 3 10:37:47 CET 2010


This patch modify to match ids between source clock id and asoc platform
device that spdif driver can find sclk_audio0 with device id.

Signed-off-by: Seungwhan Youn <sw.youn at samsung.com>
---
 sound/soc/s3c24xx/smdk_spdif.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/sound/soc/s3c24xx/smdk_spdif.c b/sound/soc/s3c24xx/smdk_spdif.c
index 0e1fe60..b4ad231 100644
--- a/sound/soc/s3c24xx/smdk_spdif.c
+++ b/sound/soc/s3c24xx/smdk_spdif.c
@@ -183,7 +183,7 @@ static int __init smdk_init(void)
 	if (ret)
 		goto err2;
 
-	smdk_snd_spdif_device = platform_device_alloc("soc-audio", -1);
+	smdk_snd_spdif_device = platform_device_alloc("soc-audio", 0);
 	if (!smdk_snd_spdif_device) {
 		ret = -ENOMEM;
 		goto err2;
-- 
1.6.2.5



More information about the Alsa-devel mailing list