Changeset 713 for GPL/branches/uniaud32-next/alsa-kernel/pci/ens1370.c
- Timestamp:
- Aug 7, 2022, 1:51:08 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GPL/branches/uniaud32-next/alsa-kernel/pci/ens1370.c
r711 r713 2045 2045 KBUILD_MODNAME, ensoniq)) { 2046 2046 dev_err(card->dev, "unable to grab IRQ %d\n", pci->irq); 2047 snd_ensoniq_free( ensoniq);2047 snd_ensoniq_free(card); 2048 2048 return -EBUSY; 2049 2049 } … … 2052 2052 card->sync_irq = ensoniq->irq; 2053 2053 #ifdef CHIP1370 2054 #ifndef TARGET_OS22055 2054 ensoniq->dma_bug = 2056 2055 snd_devm_alloc_pages(&pci->dev, SNDRV_DMA_TYPE_DEV, 16); 2057 2056 if (!ensoniq->dma_bug) 2058 2057 return -ENOMEM; 2059 #else2060 if (snd_dma_alloc_pages(SNDRV_DMA_TYPE_DEV, &pci->dev,2061 16, &ensoniq->dma_bug) < 0) {2062 dev_err(card->dev, "unable to allocate space for phantom area - dma_bug\n");2063 snd_ensoniq_free(ensoniq);2064 return -EBUSY;2065 }2066 #endif2067 2058 #endif 2068 2059 pci_set_master(pci);
Note:
See TracChangeset
for help on using the changeset viewer.