Changeset 598 for GPL/trunk/alsa-kernel/pci/als4000.c
- Timestamp:
- Apr 3, 2017, 4:51:56 PM (8 years ago)
- Location:
- GPL/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
GPL/trunk
-
Property svn:mergeinfo
set to
/GPL/branches/uniaud32-2.1.x merged eligible
-
Property svn:mergeinfo
set to
-
GPL/trunk/alsa-kernel/pci/als4000.c
r426 r598 69 69 #include <linux/init.h> 70 70 #include <linux/pci.h> 71 #include <linux/slab.h>72 71 #include <linux/gameport.h> 73 72 #include <linux/moduleparam.h> … … 118 117 }; 119 118 120 static struct pci_device_id snd_als4000_ids[]= {119 static DEFINE_PCI_DEVICE_TABLE(snd_als4000_ids) = { 121 120 { 0x4005, 0x4000, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0, }, /* ALS4000 */ 122 121 { 0, } … … 765 764 for (i = ALS4K_GCR91_DMA0_ADDR; i <= ALS4K_GCR96_DMA3_MODE_COUNT; ++i) 766 765 snd_als4k_gcr_write(chip, i, 0); 767 766 /* enable burst mode to prevent dropouts during high PCI bus usage */ 768 767 snd_als4k_gcr_write(chip, ALS4K_GCR99_DMA_EMULATION_CTRL, 769 snd_als4k_gcr_read(chip, ALS4K_GCR99_DMA_EMULATION_CTRL));768 (snd_als4k_gcr_read(chip, ALS4K_GCR99_DMA_EMULATION_CTRL) & ~0x07) | 0x04); 770 769 spin_unlock_irq(&chip->reg_lock); 771 770 }
Note:
See TracChangeset
for help on using the changeset viewer.