summaryrefslogtreecommitdiffstats
path: root/sound/pci/ice1712
diff options
context:
space:
mode:
authorKonstantinos Tsimpoukas <kostaslinuxxx@gmail.com>2014-08-27 06:21:48 +0200
committerTakashi Iwai <tiwai@suse.de>2014-08-27 08:17:07 +0200
commit890b13a308b9df78ad05fc57eb440b32399be35e (patch)
tree1285a29aa53e298832afad0dad0d7e357b303732 /sound/pci/ice1712
parentALSA: ctxfi: fix broken user-visible string (diff)
downloadlinux-890b13a308b9df78ad05fc57eb440b32399be35e.tar.xz
linux-890b13a308b9df78ad05fc57eb440b32399be35e.zip
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>
Diffstat (limited to 'sound/pci/ice1712')
-rw-r--r--sound/pci/ice1712/ice1712.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/ice1712/ice1712.c b/sound/pci/ice1712/ice1712.c
index 87f7fc41d4f2..206ed2cbcef9 100644
--- a/sound/pci/ice1712/ice1712.c
+++ b/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: