Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 86169
b: refs/heads/master
c: 2f93d79
h: refs/heads/master
i:
  86167: 9dc51b9
v: v3
  • Loading branch information
Clemens Ladisch authored and Linus Torvalds committed Feb 22, 2008
1 parent d978f20 commit b6a7664
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 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: c6cd7d7efe2302697a3cbde718e8e3b0d88ba706
refs/heads/master: 2f93d797ea92113a73c72728c475455cb1409fb3
9 changes: 3 additions & 6 deletions trunk/sound/pci/bt87x.c
Original file line number Diff line number Diff line change
Expand Up @@ -681,15 +681,12 @@ static struct snd_kcontrol_new snd_bt87x_capture_source = {

static int snd_bt87x_free(struct snd_bt87x *chip)
{
if (chip->mmio) {
if (chip->mmio)
snd_bt87x_stop(chip);
if (chip->irq >= 0)
synchronize_irq(chip->irq);

iounmap(chip->mmio);
}
if (chip->irq >= 0)
free_irq(chip->irq, chip);
if (chip->mmio)
iounmap(chip->mmio);
pci_release_regions(chip->pci);
pci_disable_device(chip->pci);
kfree(chip);
Expand Down

0 comments on commit b6a7664

Please sign in to comment.