Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 92169
b: refs/heads/master
c: 95866d3
h: refs/heads/master
i:
  92167: 6e903ef
v: v3
  • Loading branch information
Takashi Iwai committed Apr 24, 2008
1 parent 4c35ac0 commit 3176dd1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: cd97f47df377d2371940b69fa4c8b4d99a980580
refs/heads/master: 95866d38028c98ea4d6df6947f6ea3fd77334382
4 changes: 2 additions & 2 deletions trunk/sound/pci/ymfpci/ymfpci_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -2249,6 +2249,8 @@ static int snd_ymfpci_free(struct snd_ymfpci *chip)
#ifdef CONFIG_PM
vfree(chip->saved_regs);
#endif
if (chip->irq >= 0)
free_irq(chip->irq, chip);
release_and_free_resource(chip->mpu_res);
release_and_free_resource(chip->fm_res);
snd_ymfpci_free_gameport(chip);
Expand All @@ -2257,8 +2259,6 @@ static int snd_ymfpci_free(struct snd_ymfpci *chip)
if (chip->work_ptr.area)
snd_dma_free_pages(&chip->work_ptr);

if (chip->irq >= 0)
free_irq(chip->irq, chip);
release_and_free_resource(chip->res_reg_area);

pci_write_config_word(chip->pci, 0x40, chip->old_legacy_ctrl);
Expand Down

0 comments on commit 3176dd1

Please sign in to comment.