diff options
Diffstat (limited to 'sound/pci/oxygen/oxygen_lib.c')
-rw-r--r-- | sound/pci/oxygen/oxygen_lib.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sound/pci/oxygen/oxygen_lib.c b/sound/pci/oxygen/oxygen_lib.c index ab8738e21ad1..e9fa2d07951d 100644 --- a/sound/pci/oxygen/oxygen_lib.c +++ b/sound/pci/oxygen/oxygen_lib.c | |||
@@ -573,8 +573,8 @@ static void oxygen_card_free(struct snd_card *card) | |||
573 | oxygen_shutdown(chip); | 573 | oxygen_shutdown(chip); |
574 | if (chip->irq >= 0) | 574 | if (chip->irq >= 0) |
575 | free_irq(chip->irq, chip); | 575 | free_irq(chip->irq, chip); |
576 | flush_work_sync(&chip->spdif_input_bits_work); | 576 | flush_work(&chip->spdif_input_bits_work); |
577 | flush_work_sync(&chip->gpio_work); | 577 | flush_work(&chip->gpio_work); |
578 | chip->model.cleanup(chip); | 578 | chip->model.cleanup(chip); |
579 | kfree(chip->model_data); | 579 | kfree(chip->model_data); |
580 | mutex_destroy(&chip->mutex); | 580 | mutex_destroy(&chip->mutex); |
@@ -751,8 +751,8 @@ static int oxygen_pci_suspend(struct device *dev) | |||
751 | spin_unlock_irq(&chip->reg_lock); | 751 | spin_unlock_irq(&chip->reg_lock); |
752 | 752 | ||
753 | synchronize_irq(chip->irq); | 753 | synchronize_irq(chip->irq); |
754 | flush_work_sync(&chip->spdif_input_bits_work); | 754 | flush_work(&chip->spdif_input_bits_work); |
755 | flush_work_sync(&chip->gpio_work); | 755 | flush_work(&chip->gpio_work); |
756 | chip->interrupt_mask = saved_interrupt_mask; | 756 | chip->interrupt_mask = saved_interrupt_mask; |
757 | 757 | ||
758 | pci_disable_device(pci); | 758 | pci_disable_device(pci); |