aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/riptide/riptide.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/pci/riptide/riptide.c')
-rw-r--r--sound/pci/riptide/riptide.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/sound/pci/riptide/riptide.c b/sound/pci/riptide/riptide.c
index 5b3e49900498..f148ee434a6b 100644
--- a/sound/pci/riptide/riptide.c
+++ b/sound/pci/riptide/riptide.c
@@ -1838,10 +1838,7 @@ static int snd_riptide_free(struct snd_riptide *chip)
1838 } 1838 }
1839 if (chip->fw_entry) 1839 if (chip->fw_entry)
1840 release_firmware(chip->fw_entry); 1840 release_firmware(chip->fw_entry);
1841 if (chip->res_port) { 1841 release_and_free_resource(chip->res_port);
1842 release_resource(chip->res_port);
1843 kfree_nocheck(chip->res_port);
1844 }
1845 if (chip->irq >= 0) 1842 if (chip->irq >= 0)
1846 free_irq(chip->irq, chip); 1843 free_irq(chip->irq, chip);
1847 kfree(chip); 1844 kfree(chip);