diff options
Diffstat (limited to 'sound/pci/azt3328.c')
-rw-r--r-- | sound/pci/azt3328.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sound/pci/azt3328.c b/sound/pci/azt3328.c index 4e71a55120a0..5f63af6b88a2 100644 --- a/sound/pci/azt3328.c +++ b/sound/pci/azt3328.c | |||
@@ -157,8 +157,8 @@ MODULE_SUPPORTED_DEVICE("{{Aztech,AZF3328}}"); | |||
157 | 157 | ||
158 | #if DEBUG_CALLS | 158 | #if DEBUG_CALLS |
159 | #define snd_azf3328_dbgcalls(format, args...) printk(format, ##args) | 159 | #define snd_azf3328_dbgcalls(format, args...) printk(format, ##args) |
160 | #define snd_azf3328_dbgcallenter() printk(KERN_ERR "--> %s\n", __FUNCTION__) | 160 | #define snd_azf3328_dbgcallenter() printk(KERN_ERR "--> %s\n", __func__) |
161 | #define snd_azf3328_dbgcallleave() printk(KERN_ERR "<-- %s\n", __FUNCTION__) | 161 | #define snd_azf3328_dbgcallleave() printk(KERN_ERR "<-- %s\n", __func__) |
162 | #else | 162 | #else |
163 | #define snd_azf3328_dbgcalls(format, args...) | 163 | #define snd_azf3328_dbgcalls(format, args...) |
164 | #define snd_azf3328_dbgcallenter() | 164 | #define snd_azf3328_dbgcallenter() |
@@ -1514,7 +1514,8 @@ snd_azf3328_free(struct snd_azf3328 *chip) | |||
1514 | /* well, at least we know how to disable the timer IRQ */ | 1514 | /* well, at least we know how to disable the timer IRQ */ |
1515 | snd_azf3328_codec_outb(chip, IDX_IO_TIMER_VALUE + 3, 0x00); | 1515 | snd_azf3328_codec_outb(chip, IDX_IO_TIMER_VALUE + 3, 0x00); |
1516 | 1516 | ||
1517 | synchronize_irq(chip->irq); | 1517 | if (chip->irq >= 0) |
1518 | synchronize_irq(chip->irq); | ||
1518 | __end_hw: | 1519 | __end_hw: |
1519 | snd_azf3328_free_joystick(chip); | 1520 | snd_azf3328_free_joystick(chip); |
1520 | if (chip->irq >= 0) | 1521 | if (chip->irq >= 0) |