Changeset 290 for GPL/branches/alsa-resync1/alsa-kernel/pci/maestro3.c
- Timestamp:
- Feb 16, 2008, 7:40:20 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GPL/branches/alsa-resync1/alsa-kernel/pci/maestro3.c
r250 r290 2706 2706 2707 2707 /* check, if we can restrict PCI DMA transfers to 28 bits */ 2708 if (!pci_dma_supported(pci, 0x0fffffff)) { 2708 if (pci_set_dma_mask(pci, 0x0fffffff) < 0 || 2709 pci_set_consistent_dma_mask(pci, 0x0fffffff) < 0) { 2709 2710 snd_printk("architecture does not support 28bit PCI busmaster DMA\n"); 2710 2711 return -ENXIO; 2711 2712 } 2712 pci_set_consistent_dma_mask(pci, 0x0fffffff);2713 2713 2714 2714 chip = kcalloc(1, sizeof(*chip), GFP_KERNEL); … … 2829 2829 snd_m3_enable_ints(chip); 2830 2830 snd_m3_assp_continue(chip); 2831 2832 snd_card_set_dev(card, &pci->dev); 2831 2833 2832 2834 *chip_ret = chip;
Note:
See TracChangeset
for help on using the changeset viewer.