diff options
Diffstat (limited to 'sound/pci/azt3328.c')
-rw-r--r-- | sound/pci/azt3328.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sound/pci/azt3328.c b/sound/pci/azt3328.c index be87d3113ee4..5f63af6b88a2 100644 --- a/sound/pci/azt3328.c +++ b/sound/pci/azt3328.c | |||
@@ -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) |