[ALSA] ice1724 - Enable watermarks

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>
This commit is contained in:
Takashi Iwai 2008-04-25 09:15:12 +02:00
parent df7e3fdf83
commit 7f70f046af

View File

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