aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/nuc900
diff options
context:
space:
mode:
Diffstat (limited to 'sound/soc/nuc900')
-rw-r--r--sound/soc/nuc900/nuc900-ac97.c2
-rw-r--r--sound/soc/nuc900/nuc900-pcm.c7
2 files changed, 6 insertions, 3 deletions
diff --git a/sound/soc/nuc900/nuc900-ac97.c b/sound/soc/nuc900/nuc900-ac97.c
index dac6732da96..9c0edad90d8 100644
--- a/sound/soc/nuc900/nuc900-ac97.c
+++ b/sound/soc/nuc900/nuc900-ac97.c
@@ -356,7 +356,7 @@ static int __devinit nuc900_ac97_drvprobe(struct platform_device *pdev)
356 nuc900_audio->irq_num = platform_get_irq(pdev, 0); 356 nuc900_audio->irq_num = platform_get_irq(pdev, 0);
357 if (!nuc900_audio->irq_num) { 357 if (!nuc900_audio->irq_num) {
358 ret = -EBUSY; 358 ret = -EBUSY;
359 goto out2; 359 goto out3;
360 } 360 }
361 361
362 nuc900_ac97_data = nuc900_audio; 362 nuc900_ac97_data = nuc900_audio;
diff --git a/sound/soc/nuc900/nuc900-pcm.c b/sound/soc/nuc900/nuc900-pcm.c
index 8263f56dc66..d589ef14e91 100644
--- a/sound/soc/nuc900/nuc900-pcm.c
+++ b/sound/soc/nuc900/nuc900-pcm.c
@@ -315,9 +315,12 @@ static void nuc900_dma_free_dma_buffers(struct snd_pcm *pcm)
315} 315}
316 316
317static u64 nuc900_pcm_dmamask = DMA_BIT_MASK(32); 317static u64 nuc900_pcm_dmamask = DMA_BIT_MASK(32);
318static int nuc900_dma_new(struct snd_card *card, 318static int nuc900_dma_new(struct snd_soc_pcm_runtime *rtd)
319 struct snd_soc_dai *dai, struct snd_pcm *pcm)
320{ 319{
320 struct snd_card *card = rtd->card->snd_card;
321 struct snd_soc_dai *dai = rtd->cpu_dai;
322 struct snd_pcm *pcm = rtd->pcm;
323
321 if (!card->dev->dma_mask) 324 if (!card->dev->dma_mask)
322 card->dev->dma_mask = &nuc900_pcm_dmamask; 325 card->dev->dma_mask = &nuc900_pcm_dmamask;
323 if (!card->dev->coherent_dma_mask) 326 if (!card->dev->coherent_dma_mask)