Commit 7f70f046 authored by Takashi Iwai's avatar Takashi Iwai

[ALSA] ice1724 - Enable watermarks

Enable watermarks settings (previously commented out) for MPU RX/TX.
Otherwise irqs aren't issued properly.
Tested-by: default avatarPavel Hofman <pavel.hofman@insite.cz>
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent df7e3fdf
...@@ -2443,12 +2443,10 @@ static int __devinit snd_vt1724_probe(struct pci_dev *pci, ...@@ -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
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment