Commit 66a440ce authored by Jaroslav Kysela's avatar Jaroslav Kysela

ALSA CVS update - Jaroslav Kysela <perex@suse.cz>

PPC PMAC driver
Fix against the new DMA API
parent 38099c52
...@@ -665,7 +665,7 @@ int __init snd_pmac_pcm_new(pmac_t *chip) ...@@ -665,7 +665,7 @@ int __init snd_pmac_pcm_new(pmac_t *chip)
/* preallocate 64k buffer */ /* preallocate 64k buffer */
snd_pcm_lib_preallocate_pages_for_all(pcm, SNDRV_DMA_TYPE_CONTINUOUS, snd_pcm_lib_preallocate_pages_for_all(pcm, SNDRV_DMA_TYPE_CONTINUOUS,
snd_pcm_dma_flags(GFP_KERNEL), snd_dma_continuous_data(GFP_KERNEL),
64 * 1024, 64 * 1024); 64 * 1024, 64 * 1024);
return 0; return 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment