diff options
Diffstat (limited to 'sound/pci/oxygen/oxygen_lib.c')
-rw-r--r-- | sound/pci/oxygen/oxygen_lib.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sound/pci/oxygen/oxygen_lib.c b/sound/pci/oxygen/oxygen_lib.c index f84f6a128ee9..897697d43506 100644 --- a/sound/pci/oxygen/oxygen_lib.c +++ b/sound/pci/oxygen/oxygen_lib.c | |||
@@ -410,10 +410,8 @@ static void oxygen_card_free(struct snd_card *card) | |||
410 | oxygen_write16(chip, OXYGEN_DMA_STATUS, 0); | 410 | oxygen_write16(chip, OXYGEN_DMA_STATUS, 0); |
411 | oxygen_write16(chip, OXYGEN_INTERRUPT_MASK, 0); | 411 | oxygen_write16(chip, OXYGEN_INTERRUPT_MASK, 0); |
412 | spin_unlock_irq(&chip->reg_lock); | 412 | spin_unlock_irq(&chip->reg_lock); |
413 | if (chip->irq >= 0) { | 413 | if (chip->irq >= 0) |
414 | free_irq(chip->irq, chip); | 414 | free_irq(chip->irq, chip); |
415 | synchronize_irq(chip->irq); | ||
416 | } | ||
417 | flush_scheduled_work(); | 415 | flush_scheduled_work(); |
418 | chip->model->cleanup(chip); | 416 | chip->model->cleanup(chip); |
419 | mutex_destroy(&chip->mutex); | 417 | mutex_destroy(&chip->mutex); |