Ignore:
Timestamp:
Apr 3, 2017, 4:51:56 PM (8 years ago)
Author:
David Azarewicz
Message:

Merged/reintegrated v2 branch into trunk. Trunk is now v2

Location:
GPL/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • GPL/trunk

  • GPL/trunk/alsa-kernel/pci/als4000.c

    r426 r598  
    6969#include <linux/init.h>
    7070#include <linux/pci.h>
    71 #include <linux/slab.h>
    7271#include <linux/gameport.h>
    7372#include <linux/moduleparam.h>
     
    118117};
    119118
    120 static struct pci_device_id snd_als4000_ids[] = {
     119static DEFINE_PCI_DEVICE_TABLE(snd_als4000_ids) = {
    121120        { 0x4005, 0x4000, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0, },   /* ALS4000 */
    122121        { 0, }
     
    765764        for (i = ALS4K_GCR91_DMA0_ADDR; i <= ALS4K_GCR96_DMA3_MODE_COUNT; ++i)
    766765                snd_als4k_gcr_write(chip, i, 0);
    767        
     766        /* enable burst mode to prevent dropouts during high PCI bus usage */
    768767        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);
    770769        spin_unlock_irq(&chip->reg_lock);
    771770}
Note: See TracChangeset for help on using the changeset viewer.