ice1712: Replacing hex with #defines
PATCH 1/1 ice1712: Replacing hex with #defines
Adds to te readability of the ice1712 driver.
Signed-off-by Konstantinos Tsimpoukas <[email protected]>
--- sound/pci/ice1712/ice1712.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
sound/pci/ice1712/ice1712.c +1 -1
@@ -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:
Signature · 1 line
1.9.1
Takashi Iwai
AppliedAt Tue, 26 Aug 2014 23:21:48 -0500,
Quoted 4 lines · Konstantinos Tsimpoukas
Adds to te readability of the ice1712 driver.
Signed-off-by Konstantinos Tsimpoukas <[email protected]>
Thanks, applied.
Takashi
Quoted 20 lines
--- sound/pci/ice1712/ice1712.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)sound/pci/ice1712/ice1712.c +1
-1@@ -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:Signature · 1 line
1.9.1