Commit 890b13a3 authored by Konstantinos Tsimpoukas's avatar Konstantinos Tsimpoukas Committed by Takashi Iwai

ALSA: ice1712: Replacing hex with #defines

Adds to the readability of the ice1712 driver.
Signed-off-by: default avatarKonstantinos Tsimpoukas <kostaslinuxxx@gmail.com>
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 62afa853
...@@ -2528,7 +2528,7 @@ static int snd_ice1712_free(struct snd_ice1712 *ice) ...@@ -2528,7 +2528,7 @@ static int snd_ice1712_free(struct snd_ice1712 *ice)
if (!ice->port) if (!ice->port)
goto __hw_end; goto __hw_end;
/* mask all interrupts */ /* mask all interrupts */
outb(0xc0, ICEMT(ice, IRQ)); outb(ICE1712_MULTI_CAPTURE | ICE1712_MULTI_PLAYBACK, ICEMT(ice, IRQ));
outb(0xff, ICEREG(ice, IRQMASK)); outb(0xff, ICEREG(ice, IRQMASK));
/* --- */ /* --- */
__hw_end: __hw_end:
......
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