Ignore:
Timestamp:
Aug 21, 2021, 3:35:34 AM (4 years ago)
Author:
David Azarewicz
Message:

Merge changes from next branch.

Location:
GPL/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • GPL/trunk

  • GPL/trunk/alsa-kernel/pci/emu10k1/emu10k1x.c

    r679 r695  
    3535MODULE_DESCRIPTION("EMU10K1X");
    3636MODULE_LICENSE("GPL");
    37 MODULE_SUPPORTED_DEVICE("{{Dell Creative Labs,SB Live!}");
    3837
    3938// module parameters (see "Module Parameters")
     
    898897        if ((err = pci_enable_device(pci)) < 0)
    899898                return err;
    900         if (pci_set_dma_mask(pci, DMA_BIT_MASK(28)) < 0 ||
    901             pci_set_consistent_dma_mask(pci, DMA_BIT_MASK(28)) < 0) {
     899
     900        if (dma_set_mask_and_coherent(&pci->dev, DMA_BIT_MASK(28)) < 0) {
    902901                dev_err(card->dev, "error to set 28bit mask DMA\n");
    903902                pci_disable_device(pci);
Note: See TracChangeset for help on using the changeset viewer.