Commit df1187a1 authored by Jason Wever's avatar Jason Wever Committed by David S. Miller

[CS4231]: Fix build error, use SNDRV_DMA_TYPE_DEV and missing comma.

parent 8754a8e2
...@@ -1570,8 +1570,8 @@ int snd_cs4231_pcm(cs4231_t *chip) ...@@ -1570,8 +1570,8 @@ int snd_cs4231_pcm(cs4231_t *chip)
#ifdef EBUS_SUPPORT #ifdef EBUS_SUPPORT
if (chip->flags & CS4231_FLAG_EBUS) { if (chip->flags & CS4231_FLAG_EBUS) {
snd_pcm_lib_preallocate_pages_for_all(pcm, SNDRV_DMA_TYPE_PCI, snd_pcm_lib_preallocate_pages_for_all(pcm, SNDRV_DMA_TYPE_DEV,
snd_dma_pci_data(chip->dev_u.pdev) snd_dma_pci_data(chip->dev_u.pdev),
64*1024, 128*1024); 64*1024, 128*1024);
} else { } else {
#endif #endif
......
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