]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
ALSA: ice1712: Replacing hex with #defines
authorKonstantinos Tsimpoukas <kostaslinuxxx@gmail.com>
Wed, 27 Aug 2014 04:21:48 +0000 (23:21 -0500)
committerTakashi Iwai <tiwai@suse.de>
Wed, 27 Aug 2014 06:17:07 +0000 (08:17 +0200)
Adds to the readability of the ice1712 driver.

Signed-off-by: Konstantinos Tsimpoukas <kostaslinuxxx@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/ice1712/ice1712.c

index 87f7fc41d4f2f03b772d5c9c8ce9472fa250de2f..206ed2cbcef9024a13f7a859bebfe53a8050f7f8 100644 (file)
@@ -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: