aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/ep93xx/ep93xx-pcm.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/soc/ep93xx/ep93xx-pcm.c')
-rw-r--r--sound/soc/ep93xx/ep93xx-pcm.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/sound/soc/ep93xx/ep93xx-pcm.c b/sound/soc/ep93xx/ep93xx-pcm.c
index a456e491155f..e27c417da437 100644
--- a/sound/soc/ep93xx/ep93xx-pcm.c
+++ b/sound/soc/ep93xx/ep93xx-pcm.c
@@ -266,9 +266,11 @@ static void ep93xx_pcm_free_dma_buffers(struct snd_pcm *pcm)
266 266
267static u64 ep93xx_pcm_dmamask = 0xffffffff; 267static u64 ep93xx_pcm_dmamask = 0xffffffff;
268 268
269static int ep93xx_pcm_new(struct snd_card *card, struct snd_soc_dai *dai, 269static int ep93xx_pcm_new(struct snd_soc_pcm_runtime *rtd)
270 struct snd_pcm *pcm)
271{ 270{
271 struct snd_card *card = rtd->card->snd_card;
272 struct snd_soc_dai *dai = rtd->cpu_dai;
273 struct snd_pcm *pcm = rtd->pcm;
272 int ret = 0; 274 int ret = 0;
273 275
274 if (!card->dev->dma_mask) 276 if (!card->dev->dma_mask)