瀏覽代碼

ALSA: ice1712: Replacing hex with #defines

Adds to the readability of the ice1712 driver.

Signed-off-by: Konstantinos Tsimpoukas <kostaslinuxxx@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Konstantinos Tsimpoukas 11 年之前
父節點
當前提交
890b13a308
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      sound/pci/ice1712/ice1712.c

+ 1 - 1
sound/pci/ice1712/ice1712.c

@@ -2528,7 +2528,7 @@ static int snd_ice1712_free(struct snd_ice1712 *ice)
 	if (!ice->port)
 		goto __hw_end;
 	/* mask all interrupts */
-	outb(0xc0, ICEMT(ice, IRQ));
+	outb(ICE1712_MULTI_CAPTURE | ICE1712_MULTI_PLAYBACK, ICEMT(ice, IRQ));
 	outb(0xff, ICEREG(ice, IRQMASK));
 	/* --- */
 __hw_end: