summaryrefslogtreecommitdiffstats
path: root/kernel/sound/pci/au88x0/au88x0.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/sound/pci/au88x0/au88x0.c')
-rw-r--r--kernel/sound/pci/au88x0/au88x0.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/sound/pci/au88x0/au88x0.c b/kernel/sound/pci/au88x0/au88x0.c
index 996369134..32092184b 100644
--- a/kernel/sound/pci/au88x0/au88x0.c
+++ b/kernel/sound/pci/au88x0/au88x0.c
@@ -150,8 +150,8 @@ snd_vortex_create(struct snd_card *card, struct pci_dev *pci, vortex_t ** rchip)
// check PCI availability (DMA).
if ((err = pci_enable_device(pci)) < 0)
return err;
- if (pci_set_dma_mask(pci, DMA_BIT_MASK(32)) < 0 ||
- pci_set_consistent_dma_mask(pci, DMA_BIT_MASK(32)) < 0) {
+ if (dma_set_mask(&pci->dev, DMA_BIT_MASK(32)) < 0 ||
+ dma_set_coherent_mask(&pci->dev, DMA_BIT_MASK(32)) < 0) {
dev_err(card->dev, "error to set DMA mask\n");
pci_disable_device(pci);
return -ENXIO;