Changeset 693 for GPL/branches/uniaud32-next/alsa-kernel/pci/maestro3.c
- Timestamp:
- Aug 14, 2021, 9:21:05 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GPL/branches/uniaud32-next/alsa-kernel/pci/maestro3.c
r629 r693 43 43 MODULE_DESCRIPTION("ESS Maestro3 PCI"); 44 44 MODULE_LICENSE("GPL"); 45 MODULE_SUPPORTED_DEVICE("{{ESS,Maestro3 PCI},"46 "{ESS,ES1988},"47 "{ESS,Allegro PCI},"48 "{ESS,Allegro-1 PCI},"49 "{ESS,Canyon3D-2/LE PCI}}");50 45 MODULE_FIRMWARE("ess/maestro3_assp_kernel.fw"); 51 46 MODULE_FIRMWARE("ess/maestro3_assp_minisrc.fw"); … … 1253 1248 1254 1249 /* set up dac/adc rate */ 1250 #ifndef TARGET_OS2 1251 freq = DIV_ROUND_CLOSEST(runtime->rate << 15, 48000); 1252 #else 1255 1253 freq = ((runtime->rate << 15) + 24000 ) / 48000; 1254 #endif 1256 1255 if (freq) 1257 1256 freq--; … … 2540 2539 2541 2540 /* check, if we can restrict PCI DMA transfers to 28 bits */ 2542 if (dma_set_mask(&pci->dev, DMA_BIT_MASK(28)) < 0 || 2543 dma_set_coherent_mask(&pci->dev, DMA_BIT_MASK(28)) < 0) { 2541 if (dma_set_mask_and_coherent(&pci->dev, DMA_BIT_MASK(28))) { 2544 2542 dev_err(card->dev, 2545 2543 "architecture does not support 28bit PCI busmaster DMA\n");
Note:
See TracChangeset
for help on using the changeset viewer.