提交 890b13a3 编写于 作者: K Konstantinos Tsimpoukas 提交者: Takashi Iwai

ALSA: ice1712: Replacing hex with #defines

Adds to the readability of the ice1712 driver.
Signed-off-by: NKonstantinos Tsimpoukas <kostaslinuxxx@gmail.com>
Signed-off-by: NTakashi Iwai <tiwai@suse.de>
上级 62afa853
......@@ -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:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册