[ALSA] ice1724 - Enable watermarks
authorTakashi Iwai <tiwai@suse.de>
Fri, 25 Apr 2008 07:15:12 +0000 (09:15 +0200)
committerTakashi Iwai <tiwai@suse.de>
Tue, 29 Apr 2008 17:01:56 +0000 (19:01 +0200)
Enable watermarks settings (previously commented out) for MPU RX/TX.
Otherwise irqs aren't issued properly.

Tested-by: Pavel Hofman <pavel.hofman@insite.cz>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/ice1712/ice1724.c

index 681fbbd8a5ced24c336b99b115845f8983493e1a..67350901772ce986582ef19e0b8ce9dad738f9cb 100644 (file)
@@ -2443,12 +2443,10 @@ static int __devinit snd_vt1724_probe(struct pci_dev *pci,
                        outb(inb(ICEREG1724(ice, IRQMASK)) &
                             ~(VT1724_IRQ_MPU_RX | VT1724_IRQ_MPU_TX),
                             ICEREG1724(ice, IRQMASK));
-#if 0 /* for testing */
                        /* set watermarks */
                        outb(VT1724_MPU_RX_FIFO | 0x1,
                             ICEREG1724(ice, MPU_FIFO_WM));
                        outb(0x1, ICEREG1724(ice, MPU_FIFO_WM));
-#endif
                }
        }