diff options
Diffstat (limited to 'sound/soc/jz4740/jz4740-pcm.c')
-rw-r--r-- | sound/soc/jz4740/jz4740-pcm.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sound/soc/jz4740/jz4740-pcm.c b/sound/soc/jz4740/jz4740-pcm.c index fb1483f7c966..a7c9578be983 100644 --- a/sound/soc/jz4740/jz4740-pcm.c +++ b/sound/soc/jz4740/jz4740-pcm.c | |||
@@ -299,9 +299,11 @@ static void jz4740_pcm_free(struct snd_pcm *pcm) | |||
299 | 299 | ||
300 | static u64 jz4740_pcm_dmamask = DMA_BIT_MASK(32); | 300 | static u64 jz4740_pcm_dmamask = DMA_BIT_MASK(32); |
301 | 301 | ||
302 | int jz4740_pcm_new(struct snd_card *card, struct snd_soc_dai *dai, | 302 | int jz4740_pcm_new(struct snd_soc_pcm_runtime *rtd) |
303 | struct snd_pcm *pcm) | ||
304 | { | 303 | { |
304 | struct snd_card *card = rtd->card->snd_card; | ||
305 | struct snd_soc_dai *dai = rtd->cpu_dai; | ||
306 | struct snd_pcm *pcm = rtd->pcm; | ||
305 | int ret = 0; | 307 | int ret = 0; |
306 | 308 | ||
307 | if (!card->dev->dma_mask) | 309 | if (!card->dev->dma_mask) |