diff options
author | Liam Girdwood <lg@opensource.wolfsonmicro.com> | 2008-07-07 11:08:24 -0400 |
---|---|---|
committer | Jaroslav Kysela <perex@perex.cz> | 2008-07-10 03:32:45 -0400 |
commit | 1992a6fbd929196aebe95e0e7b04c4da66c3bfec (patch) | |
tree | 026a5700a8255c3a5d76db98a751c6033f4bcd11 /sound | |
parent | 917f93ac80a1c007d4a3ce269a3712f93a75728f (diff) |
ALSA: asoc: s3c24xx - merge structs snd_soc_codec_dai and snd_soc_cpu_dai.
This patch merges struct snd_soc_codec_dai and struct
snd_soc_cpu_dai into struct snd_soc_dai for the S3C24xx platform.
Signed-off-by: Liam Girdwood <lg@opensource.wolfsonmicro.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/soc/s3c24xx/neo1973_wm8753.c | 12 | ||||
-rw-r--r-- | sound/soc/s3c24xx/s3c2412-i2s.c | 14 | ||||
-rw-r--r-- | sound/soc/s3c24xx/s3c2412-i2s.h | 2 | ||||
-rw-r--r-- | sound/soc/s3c24xx/s3c2443-ac97.c | 10 | ||||
-rw-r--r-- | sound/soc/s3c24xx/s3c24xx-ac97.h | 2 | ||||
-rw-r--r-- | sound/soc/s3c24xx/s3c24xx-i2s.c | 14 | ||||
-rw-r--r-- | sound/soc/s3c24xx/s3c24xx-i2s.h | 2 | ||||
-rw-r--r-- | sound/soc/s3c24xx/s3c24xx-pcm.c | 2 |
8 files changed, 29 insertions, 29 deletions
diff --git a/sound/soc/s3c24xx/neo1973_wm8753.c b/sound/soc/s3c24xx/neo1973_wm8753.c index f053e85ff608..51a4ce3dbd19 100644 --- a/sound/soc/s3c24xx/neo1973_wm8753.c +++ b/sound/soc/s3c24xx/neo1973_wm8753.c | |||
@@ -66,8 +66,8 @@ static int neo1973_hifi_hw_params(struct snd_pcm_substream *substream, | |||
66 | struct snd_pcm_hw_params *params) | 66 | struct snd_pcm_hw_params *params) |
67 | { | 67 | { |
68 | struct snd_soc_pcm_runtime *rtd = substream->private_data; | 68 | struct snd_soc_pcm_runtime *rtd = substream->private_data; |
69 | struct snd_soc_codec_dai *codec_dai = rtd->dai->codec_dai; | 69 | struct snd_soc_dai *codec_dai = rtd->dai->codec_dai; |
70 | struct snd_soc_cpu_dai *cpu_dai = rtd->dai->cpu_dai; | 70 | struct snd_soc_dai *cpu_dai = rtd->dai->cpu_dai; |
71 | unsigned int pll_out = 0, bclk = 0; | 71 | unsigned int pll_out = 0, bclk = 0; |
72 | int ret = 0; | 72 | int ret = 0; |
73 | unsigned long iis_clkrate; | 73 | unsigned long iis_clkrate; |
@@ -156,7 +156,7 @@ static int neo1973_hifi_hw_params(struct snd_pcm_substream *substream, | |||
156 | static int neo1973_hifi_hw_free(struct snd_pcm_substream *substream) | 156 | static int neo1973_hifi_hw_free(struct snd_pcm_substream *substream) |
157 | { | 157 | { |
158 | struct snd_soc_pcm_runtime *rtd = substream->private_data; | 158 | struct snd_soc_pcm_runtime *rtd = substream->private_data; |
159 | struct snd_soc_codec_dai *codec_dai = rtd->dai->codec_dai; | 159 | struct snd_soc_dai *codec_dai = rtd->dai->codec_dai; |
160 | 160 | ||
161 | DBG("Entered %s\n", __func__); | 161 | DBG("Entered %s\n", __func__); |
162 | 162 | ||
@@ -176,7 +176,7 @@ static int neo1973_voice_hw_params(struct snd_pcm_substream *substream, | |||
176 | struct snd_pcm_hw_params *params) | 176 | struct snd_pcm_hw_params *params) |
177 | { | 177 | { |
178 | struct snd_soc_pcm_runtime *rtd = substream->private_data; | 178 | struct snd_soc_pcm_runtime *rtd = substream->private_data; |
179 | struct snd_soc_codec_dai *codec_dai = rtd->dai->codec_dai; | 179 | struct snd_soc_dai *codec_dai = rtd->dai->codec_dai; |
180 | unsigned int pcmdiv = 0; | 180 | unsigned int pcmdiv = 0; |
181 | int ret = 0; | 181 | int ret = 0; |
182 | unsigned long iis_clkrate; | 182 | unsigned long iis_clkrate; |
@@ -222,7 +222,7 @@ static int neo1973_voice_hw_params(struct snd_pcm_substream *substream, | |||
222 | static int neo1973_voice_hw_free(struct snd_pcm_substream *substream) | 222 | static int neo1973_voice_hw_free(struct snd_pcm_substream *substream) |
223 | { | 223 | { |
224 | struct snd_soc_pcm_runtime *rtd = substream->private_data; | 224 | struct snd_soc_pcm_runtime *rtd = substream->private_data; |
225 | struct snd_soc_codec_dai *codec_dai = rtd->dai->codec_dai; | 225 | struct snd_soc_dai *codec_dai = rtd->dai->codec_dai; |
226 | 226 | ||
227 | DBG("Entered %s\n", __func__); | 227 | DBG("Entered %s\n", __func__); |
228 | 228 | ||
@@ -546,7 +546,7 @@ static int neo1973_wm8753_init(struct snd_soc_codec *codec) | |||
546 | /* | 546 | /* |
547 | * BT Codec DAI | 547 | * BT Codec DAI |
548 | */ | 548 | */ |
549 | static struct snd_soc_cpu_dai bt_dai = { | 549 | static struct snd_soc_dai bt_dai = { |
550 | .name = "Bluetooth", | 550 | .name = "Bluetooth", |
551 | .id = 0, | 551 | .id = 0, |
552 | .type = SND_SOC_DAI_PCM, | 552 | .type = SND_SOC_DAI_PCM, |
diff --git a/sound/soc/s3c24xx/s3c2412-i2s.c b/sound/soc/s3c24xx/s3c2412-i2s.c index c463a82dec3a..ee4676ed1283 100644 --- a/sound/soc/s3c24xx/s3c2412-i2s.c +++ b/sound/soc/s3c24xx/s3c2412-i2s.c | |||
@@ -295,7 +295,7 @@ static inline int s3c2412_snd_is_clkmaster(void) | |||
295 | /* | 295 | /* |
296 | * Set S3C2412 I2S DAI format | 296 | * Set S3C2412 I2S DAI format |
297 | */ | 297 | */ |
298 | static int s3c2412_i2s_set_fmt(struct snd_soc_cpu_dai *cpu_dai, | 298 | static int s3c2412_i2s_set_fmt(struct snd_soc_dai *cpu_dai, |
299 | unsigned int fmt) | 299 | unsigned int fmt) |
300 | { | 300 | { |
301 | u32 iismod; | 301 | u32 iismod; |
@@ -500,7 +500,7 @@ EXPORT_SYMBOL_GPL(s3c2412_iis_calc_rate); | |||
500 | /* | 500 | /* |
501 | * Set S3C2412 Clock source | 501 | * Set S3C2412 Clock source |
502 | */ | 502 | */ |
503 | static int s3c2412_i2s_set_sysclk(struct snd_soc_cpu_dai *cpu_dai, | 503 | static int s3c2412_i2s_set_sysclk(struct snd_soc_dai *cpu_dai, |
504 | int clk_id, unsigned int freq, int dir) | 504 | int clk_id, unsigned int freq, int dir) |
505 | { | 505 | { |
506 | u32 iismod = readl(s3c2412_i2s.regs + S3C2412_IISMOD); | 506 | u32 iismod = readl(s3c2412_i2s.regs + S3C2412_IISMOD); |
@@ -528,7 +528,7 @@ static int s3c2412_i2s_set_sysclk(struct snd_soc_cpu_dai *cpu_dai, | |||
528 | /* | 528 | /* |
529 | * Set S3C2412 Clock dividers | 529 | * Set S3C2412 Clock dividers |
530 | */ | 530 | */ |
531 | static int s3c2412_i2s_set_clkdiv(struct snd_soc_cpu_dai *cpu_dai, | 531 | static int s3c2412_i2s_set_clkdiv(struct snd_soc_dai *cpu_dai, |
532 | int div_id, int div) | 532 | int div_id, int div) |
533 | { | 533 | { |
534 | struct s3c2412_i2s_info *i2s = &s3c2412_i2s; | 534 | struct s3c2412_i2s_info *i2s = &s3c2412_i2s; |
@@ -602,7 +602,7 @@ EXPORT_SYMBOL_GPL(s3c2412_get_iisclk); | |||
602 | 602 | ||
603 | 603 | ||
604 | static int s3c2412_i2s_probe(struct platform_device *pdev, | 604 | static int s3c2412_i2s_probe(struct platform_device *pdev, |
605 | struct snd_soc_cpu_dai *dai) | 605 | struct snd_soc_dai *dai) |
606 | { | 606 | { |
607 | DBG("Entered %s\n", __func__); | 607 | DBG("Entered %s\n", __func__); |
608 | 608 | ||
@@ -648,7 +648,7 @@ static int s3c2412_i2s_probe(struct platform_device *pdev, | |||
648 | 648 | ||
649 | #ifdef CONFIG_PM | 649 | #ifdef CONFIG_PM |
650 | static int s3c2412_i2s_suspend(struct platform_device *dev, | 650 | static int s3c2412_i2s_suspend(struct platform_device *dev, |
651 | struct snd_soc_cpu_dai *dai) | 651 | struct snd_soc_dai *dai) |
652 | { | 652 | { |
653 | struct s3c2412_i2s_info *i2s = &s3c2412_i2s; | 653 | struct s3c2412_i2s_info *i2s = &s3c2412_i2s; |
654 | u32 iismod; | 654 | u32 iismod; |
@@ -676,7 +676,7 @@ static int s3c2412_i2s_suspend(struct platform_device *dev, | |||
676 | } | 676 | } |
677 | 677 | ||
678 | static int s3c2412_i2s_resume(struct platform_device *pdev, | 678 | static int s3c2412_i2s_resume(struct platform_device *pdev, |
679 | struct snd_soc_cpu_dai *dai) | 679 | struct snd_soc_dai *dai) |
680 | { | 680 | { |
681 | struct s3c2412_i2s_info *i2s = &s3c2412_i2s; | 681 | struct s3c2412_i2s_info *i2s = &s3c2412_i2s; |
682 | 682 | ||
@@ -708,7 +708,7 @@ static int s3c2412_i2s_resume(struct platform_device *pdev, | |||
708 | SNDRV_PCM_RATE_22050 | SNDRV_PCM_RATE_32000 | SNDRV_PCM_RATE_44100 | \ | 708 | SNDRV_PCM_RATE_22050 | SNDRV_PCM_RATE_32000 | SNDRV_PCM_RATE_44100 | \ |
709 | SNDRV_PCM_RATE_48000 | SNDRV_PCM_RATE_88200 | SNDRV_PCM_RATE_96000) | 709 | SNDRV_PCM_RATE_48000 | SNDRV_PCM_RATE_88200 | SNDRV_PCM_RATE_96000) |
710 | 710 | ||
711 | struct snd_soc_cpu_dai s3c2412_i2s_dai = { | 711 | struct snd_soc_dai s3c2412_i2s_dai = { |
712 | .name = "s3c2412-i2s", | 712 | .name = "s3c2412-i2s", |
713 | .id = 0, | 713 | .id = 0, |
714 | .type = SND_SOC_DAI_I2S, | 714 | .type = SND_SOC_DAI_I2S, |
diff --git a/sound/soc/s3c24xx/s3c2412-i2s.h b/sound/soc/s3c24xx/s3c2412-i2s.h index 27f48e1ffa86..aac08a25e541 100644 --- a/sound/soc/s3c24xx/s3c2412-i2s.h +++ b/sound/soc/s3c24xx/s3c2412-i2s.h | |||
@@ -24,7 +24,7 @@ | |||
24 | 24 | ||
25 | extern struct clk *s3c2412_get_iisclk(void); | 25 | extern struct clk *s3c2412_get_iisclk(void); |
26 | 26 | ||
27 | extern struct snd_soc_cpu_dai s3c2412_i2s_dai; | 27 | extern struct snd_soc_dai s3c2412_i2s_dai; |
28 | 28 | ||
29 | struct s3c2412_rate_calc { | 29 | struct s3c2412_rate_calc { |
30 | unsigned int clk_div; /* for prescaler */ | 30 | unsigned int clk_div; /* for prescaler */ |
diff --git a/sound/soc/s3c24xx/s3c2443-ac97.c b/sound/soc/s3c24xx/s3c2443-ac97.c index 533565b61b2f..783349b7fede 100644 --- a/sound/soc/s3c24xx/s3c2443-ac97.c +++ b/sound/soc/s3c24xx/s3c2443-ac97.c | |||
@@ -210,7 +210,7 @@ static struct s3c24xx_pcm_dma_params s3c2443_ac97_mic_mono_in = { | |||
210 | }; | 210 | }; |
211 | 211 | ||
212 | static int s3c2443_ac97_probe(struct platform_device *pdev, | 212 | static int s3c2443_ac97_probe(struct platform_device *pdev, |
213 | struct snd_soc_cpu_dai *dai) | 213 | struct snd_soc_dai *dai) |
214 | { | 214 | { |
215 | int ret; | 215 | int ret; |
216 | u32 ac_glbctrl; | 216 | u32 ac_glbctrl; |
@@ -262,7 +262,7 @@ static int s3c2443_ac97_probe(struct platform_device *pdev, | |||
262 | } | 262 | } |
263 | 263 | ||
264 | static void s3c2443_ac97_remove(struct platform_device *pdev, | 264 | static void s3c2443_ac97_remove(struct platform_device *pdev, |
265 | struct snd_soc_cpu_dai *dai) | 265 | struct snd_soc_dai *dai) |
266 | { | 266 | { |
267 | free_irq(IRQ_S3C244x_AC97, NULL); | 267 | free_irq(IRQ_S3C244x_AC97, NULL); |
268 | clk_disable(s3c24xx_ac97.ac97_clk); | 268 | clk_disable(s3c24xx_ac97.ac97_clk); |
@@ -274,7 +274,7 @@ static int s3c2443_ac97_hw_params(struct snd_pcm_substream *substream, | |||
274 | struct snd_pcm_hw_params *params) | 274 | struct snd_pcm_hw_params *params) |
275 | { | 275 | { |
276 | struct snd_soc_pcm_runtime *rtd = substream->private_data; | 276 | struct snd_soc_pcm_runtime *rtd = substream->private_data; |
277 | struct snd_soc_cpu_dai *cpu_dai = rtd->dai->cpu_dai; | 277 | struct snd_soc_dai *cpu_dai = rtd->dai->cpu_dai; |
278 | 278 | ||
279 | if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) | 279 | if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) |
280 | cpu_dai->dma_data = &s3c2443_ac97_pcm_stereo_out; | 280 | cpu_dai->dma_data = &s3c2443_ac97_pcm_stereo_out; |
@@ -316,7 +316,7 @@ static int s3c2443_ac97_hw_mic_params(struct snd_pcm_substream *substream, | |||
316 | struct snd_pcm_hw_params *params) | 316 | struct snd_pcm_hw_params *params) |
317 | { | 317 | { |
318 | struct snd_soc_pcm_runtime *rtd = substream->private_data; | 318 | struct snd_soc_pcm_runtime *rtd = substream->private_data; |
319 | struct snd_soc_cpu_dai *cpu_dai = rtd->dai->cpu_dai; | 319 | struct snd_soc_dai *cpu_dai = rtd->dai->cpu_dai; |
320 | 320 | ||
321 | if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) | 321 | if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) |
322 | return -ENODEV; | 322 | return -ENODEV; |
@@ -352,7 +352,7 @@ static int s3c2443_ac97_mic_trigger(struct snd_pcm_substream *substream, | |||
352 | SNDRV_PCM_RATE_16000 | SNDRV_PCM_RATE_22050 | \ | 352 | SNDRV_PCM_RATE_16000 | SNDRV_PCM_RATE_22050 | \ |
353 | SNDRV_PCM_RATE_44100 | SNDRV_PCM_RATE_48000) | 353 | SNDRV_PCM_RATE_44100 | SNDRV_PCM_RATE_48000) |
354 | 354 | ||
355 | struct snd_soc_cpu_dai s3c2443_ac97_dai[] = { | 355 | struct snd_soc_dai s3c2443_ac97_dai[] = { |
356 | { | 356 | { |
357 | .name = "s3c2443-ac97", | 357 | .name = "s3c2443-ac97", |
358 | .id = 0, | 358 | .id = 0, |
diff --git a/sound/soc/s3c24xx/s3c24xx-ac97.h b/sound/soc/s3c24xx/s3c24xx-ac97.h index bf03e8ed16c3..a96dcadf28b4 100644 --- a/sound/soc/s3c24xx/s3c24xx-ac97.h +++ b/sound/soc/s3c24xx/s3c24xx-ac97.h | |||
@@ -26,6 +26,6 @@ | |||
26 | #define IRQ_S3C244x_AC97 IRQ_S3C2443_AC97 | 26 | #define IRQ_S3C244x_AC97 IRQ_S3C2443_AC97 |
27 | #endif | 27 | #endif |
28 | 28 | ||
29 | extern struct snd_soc_cpu_dai s3c2443_ac97_dai[]; | 29 | extern struct snd_soc_dai s3c2443_ac97_dai[]; |
30 | 30 | ||
31 | #endif /*S3C24XXAC97_H_*/ | 31 | #endif /*S3C24XXAC97_H_*/ |
diff --git a/sound/soc/s3c24xx/s3c24xx-i2s.c b/sound/soc/s3c24xx/s3c24xx-i2s.c index 42e96b5ff825..397524282b57 100644 --- a/sound/soc/s3c24xx/s3c24xx-i2s.c +++ b/sound/soc/s3c24xx/s3c24xx-i2s.c | |||
@@ -205,7 +205,7 @@ static inline int s3c24xx_snd_is_clkmaster(void) | |||
205 | /* | 205 | /* |
206 | * Set S3C24xx I2S DAI format | 206 | * Set S3C24xx I2S DAI format |
207 | */ | 207 | */ |
208 | static int s3c24xx_i2s_set_fmt(struct snd_soc_cpu_dai *cpu_dai, | 208 | static int s3c24xx_i2s_set_fmt(struct snd_soc_dai *cpu_dai, |
209 | unsigned int fmt) | 209 | unsigned int fmt) |
210 | { | 210 | { |
211 | u32 iismod; | 211 | u32 iismod; |
@@ -313,7 +313,7 @@ exit_err: | |||
313 | /* | 313 | /* |
314 | * Set S3C24xx Clock source | 314 | * Set S3C24xx Clock source |
315 | */ | 315 | */ |
316 | static int s3c24xx_i2s_set_sysclk(struct snd_soc_cpu_dai *cpu_dai, | 316 | static int s3c24xx_i2s_set_sysclk(struct snd_soc_dai *cpu_dai, |
317 | int clk_id, unsigned int freq, int dir) | 317 | int clk_id, unsigned int freq, int dir) |
318 | { | 318 | { |
319 | u32 iismod = readl(s3c24xx_i2s.regs + S3C2410_IISMOD); | 319 | u32 iismod = readl(s3c24xx_i2s.regs + S3C2410_IISMOD); |
@@ -339,7 +339,7 @@ static int s3c24xx_i2s_set_sysclk(struct snd_soc_cpu_dai *cpu_dai, | |||
339 | /* | 339 | /* |
340 | * Set S3C24xx Clock dividers | 340 | * Set S3C24xx Clock dividers |
341 | */ | 341 | */ |
342 | static int s3c24xx_i2s_set_clkdiv(struct snd_soc_cpu_dai *cpu_dai, | 342 | static int s3c24xx_i2s_set_clkdiv(struct snd_soc_dai *cpu_dai, |
343 | int div_id, int div) | 343 | int div_id, int div) |
344 | { | 344 | { |
345 | u32 reg; | 345 | u32 reg; |
@@ -378,7 +378,7 @@ u32 s3c24xx_i2s_get_clockrate(void) | |||
378 | EXPORT_SYMBOL_GPL(s3c24xx_i2s_get_clockrate); | 378 | EXPORT_SYMBOL_GPL(s3c24xx_i2s_get_clockrate); |
379 | 379 | ||
380 | static int s3c24xx_i2s_probe(struct platform_device *pdev, | 380 | static int s3c24xx_i2s_probe(struct platform_device *pdev, |
381 | struct snd_soc_cpu_dai *dai) | 381 | struct snd_soc_dai *dai) |
382 | { | 382 | { |
383 | DBG("Entered %s\n", __func__); | 383 | DBG("Entered %s\n", __func__); |
384 | 384 | ||
@@ -411,7 +411,7 @@ static int s3c24xx_i2s_probe(struct platform_device *pdev, | |||
411 | 411 | ||
412 | #ifdef CONFIG_PM | 412 | #ifdef CONFIG_PM |
413 | static int s3c24xx_i2s_suspend(struct platform_device *pdev, | 413 | static int s3c24xx_i2s_suspend(struct platform_device *pdev, |
414 | struct snd_soc_cpu_dai *cpu_dai) | 414 | struct snd_soc_dai *cpu_dai) |
415 | { | 415 | { |
416 | DBG("Entered %s\n", __func__); | 416 | DBG("Entered %s\n", __func__); |
417 | 417 | ||
@@ -426,7 +426,7 @@ static int s3c24xx_i2s_suspend(struct platform_device *pdev, | |||
426 | } | 426 | } |
427 | 427 | ||
428 | static int s3c24xx_i2s_resume(struct platform_device *pdev, | 428 | static int s3c24xx_i2s_resume(struct platform_device *pdev, |
429 | struct snd_soc_cpu_dai *cpu_dai) | 429 | struct snd_soc_dai *cpu_dai) |
430 | { | 430 | { |
431 | DBG("Entered %s\n", __func__); | 431 | DBG("Entered %s\n", __func__); |
432 | clk_enable(s3c24xx_i2s.iis_clk); | 432 | clk_enable(s3c24xx_i2s.iis_clk); |
@@ -449,7 +449,7 @@ static int s3c24xx_i2s_resume(struct platform_device *pdev, | |||
449 | SNDRV_PCM_RATE_22050 | SNDRV_PCM_RATE_32000 | SNDRV_PCM_RATE_44100 | \ | 449 | SNDRV_PCM_RATE_22050 | SNDRV_PCM_RATE_32000 | SNDRV_PCM_RATE_44100 | \ |
450 | SNDRV_PCM_RATE_48000 | SNDRV_PCM_RATE_88200 | SNDRV_PCM_RATE_96000) | 450 | SNDRV_PCM_RATE_48000 | SNDRV_PCM_RATE_88200 | SNDRV_PCM_RATE_96000) |
451 | 451 | ||
452 | struct snd_soc_cpu_dai s3c24xx_i2s_dai = { | 452 | struct snd_soc_dai s3c24xx_i2s_dai = { |
453 | .name = "s3c24xx-i2s", | 453 | .name = "s3c24xx-i2s", |
454 | .id = 0, | 454 | .id = 0, |
455 | .type = SND_SOC_DAI_I2S, | 455 | .type = SND_SOC_DAI_I2S, |
diff --git a/sound/soc/s3c24xx/s3c24xx-i2s.h b/sound/soc/s3c24xx/s3c24xx-i2s.h index 537b4ecce8a3..726d91cf4e1c 100644 --- a/sound/soc/s3c24xx/s3c24xx-i2s.h +++ b/sound/soc/s3c24xx/s3c24xx-i2s.h | |||
@@ -32,6 +32,6 @@ | |||
32 | 32 | ||
33 | u32 s3c24xx_i2s_get_clockrate(void); | 33 | u32 s3c24xx_i2s_get_clockrate(void); |
34 | 34 | ||
35 | extern struct snd_soc_cpu_dai s3c24xx_i2s_dai; | 35 | extern struct snd_soc_dai s3c24xx_i2s_dai; |
36 | 36 | ||
37 | #endif /*S3C24XXI2S_H_*/ | 37 | #endif /*S3C24XXI2S_H_*/ |
diff --git a/sound/soc/s3c24xx/s3c24xx-pcm.c b/sound/soc/s3c24xx/s3c24xx-pcm.c index ef599745159c..cef79b34dc6f 100644 --- a/sound/soc/s3c24xx/s3c24xx-pcm.c +++ b/sound/soc/s3c24xx/s3c24xx-pcm.c | |||
@@ -429,7 +429,7 @@ static void s3c24xx_pcm_free_dma_buffers(struct snd_pcm *pcm) | |||
429 | static u64 s3c24xx_pcm_dmamask = DMA_32BIT_MASK; | 429 | static u64 s3c24xx_pcm_dmamask = DMA_32BIT_MASK; |
430 | 430 | ||
431 | static int s3c24xx_pcm_new(struct snd_card *card, | 431 | static int s3c24xx_pcm_new(struct snd_card *card, |
432 | struct snd_soc_codec_dai *dai, struct snd_pcm *pcm) | 432 | struct snd_soc_dai *dai, struct snd_pcm *pcm) |
433 | { | 433 | { |
434 | int ret = 0; | 434 | int ret = 0; |
435 | 435 | ||