diff options
Diffstat (limited to 'sound/pci/ice1712/ice1712.c')
-rw-r--r-- | sound/pci/ice1712/ice1712.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/pci/ice1712/ice1712.c b/sound/pci/ice1712/ice1712.c index f7b1523e8a82..8ae3bb7975d1 100644 --- a/sound/pci/ice1712/ice1712.c +++ b/sound/pci/ice1712/ice1712.c | |||
@@ -2530,8 +2530,8 @@ static int snd_ice1712_create(struct snd_card *card, | |||
2530 | if (err < 0) | 2530 | if (err < 0) |
2531 | return err; | 2531 | return err; |
2532 | /* check, if we can restrict PCI DMA transfers to 28 bits */ | 2532 | /* check, if we can restrict PCI DMA transfers to 28 bits */ |
2533 | if (pci_set_dma_mask(pci, DMA_BIT_MASK(28)) < 0 || | 2533 | if (dma_set_mask(&pci->dev, DMA_BIT_MASK(28)) < 0 || |
2534 | pci_set_consistent_dma_mask(pci, DMA_BIT_MASK(28)) < 0) { | 2534 | dma_set_coherent_mask(&pci->dev, DMA_BIT_MASK(28)) < 0) { |
2535 | dev_err(card->dev, | 2535 | dev_err(card->dev, |
2536 | "architecture does not support 28bit PCI busmaster DMA\n"); | 2536 | "architecture does not support 28bit PCI busmaster DMA\n"); |
2537 | pci_disable_device(pci); | 2537 | pci_disable_device(pci); |