]> Pileus Git - ~andy/linux/blobdiff - sound/pci/als4000.c
ALSA: hda - Fix auto-parse of SPDIF input of Realtek codecs
[~andy/linux] / sound / pci / als4000.c
index 036a9ba8e1a57554025e341fcee8c50eefeebf50..0e247cb90eccb84effeaf54397fd87fc80a9630e 100644 (file)
@@ -765,7 +765,7 @@ static void snd_als4000_configure(struct snd_sb *chip)
                snd_als4k_gcr_write(chip, i, 0);
        /* enable burst mode to prevent dropouts during high PCI bus usage */
        snd_als4k_gcr_write(chip, ALS4K_GCR99_DMA_EMULATION_CTRL,
-               snd_als4k_gcr_read(chip, ALS4K_GCR99_DMA_EMULATION_CTRL) | 0x04);
+               (snd_als4k_gcr_read(chip, ALS4K_GCR99_DMA_EMULATION_CTRL) & ~0x07) | 0x04);
        spin_unlock_irq(&chip->reg_lock);
 }