aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/at91/at91-pcm.c
diff options
context:
space:
mode:
authorLiam Girdwood <lg@opensource.wolfsonmicro.com>2008-07-07 11:07:37 -0400
committerJaroslav Kysela <perex@perex.cz>2008-07-10 03:32:36 -0400
commitd37ae539a1d76da8fe5a939ce8b6d818501c8716 (patch)
tree9b1abcefb3db79747745f9a64719d7d3b4aae1c5 /sound/soc/at91/at91-pcm.c
parent453ba20b2800bc07a3eaf220010dc0127cc552fd (diff)
ALSA: asoc: at91 - 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 AT91 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/soc/at91/at91-pcm.c')
-rw-r--r--sound/soc/at91/at91-pcm.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sound/soc/at91/at91-pcm.c b/sound/soc/at91/at91-pcm.c
index ccac6bd2889c..d47492b2b6e5 100644
--- a/sound/soc/at91/at91-pcm.c
+++ b/sound/soc/at91/at91-pcm.c
@@ -318,7 +318,7 @@ static int at91_pcm_preallocate_dma_buffer(struct snd_pcm *pcm,
318static u64 at91_pcm_dmamask = 0xffffffff; 318static u64 at91_pcm_dmamask = 0xffffffff;
319 319
320static int at91_pcm_new(struct snd_card *card, 320static int at91_pcm_new(struct snd_card *card,
321 struct snd_soc_codec_dai *dai, struct snd_pcm *pcm) 321 struct snd_soc_dai *dai, struct snd_pcm *pcm)
322{ 322{
323 int ret = 0; 323 int ret = 0;
324 324
@@ -367,7 +367,7 @@ static void at91_pcm_free_dma_buffers(struct snd_pcm *pcm)
367 367
368#ifdef CONFIG_PM 368#ifdef CONFIG_PM
369static int at91_pcm_suspend(struct platform_device *pdev, 369static int at91_pcm_suspend(struct platform_device *pdev,
370 struct snd_soc_cpu_dai *dai) 370 struct snd_soc_dai *dai)
371{ 371{
372 struct snd_pcm_runtime *runtime = dai->runtime; 372 struct snd_pcm_runtime *runtime = dai->runtime;
373 struct at91_runtime_data *prtd; 373 struct at91_runtime_data *prtd;
@@ -392,7 +392,7 @@ static int at91_pcm_suspend(struct platform_device *pdev,
392} 392}
393 393
394static int at91_pcm_resume(struct platform_device *pdev, 394static int at91_pcm_resume(struct platform_device *pdev,
395 struct snd_soc_cpu_dai *dai) 395 struct snd_soc_dai *dai)
396{ 396{
397 struct snd_pcm_runtime *runtime = dai->runtime; 397 struct snd_pcm_runtime *runtime = dai->runtime;
398 struct at91_runtime_data *prtd; 398 struct at91_runtime_data *prtd;