diff options
Diffstat (limited to 'sound/pci/aw2')
-rw-r--r-- | sound/pci/aw2/aw2-alsa.c | 4 | ||||
-rw-r--r-- | sound/pci/aw2/aw2-saa7146.c | 2 |
2 files changed, 2 insertions, 4 deletions
diff --git a/sound/pci/aw2/aw2-alsa.c b/sound/pci/aw2/aw2-alsa.c index e1cf01949fda..8d2fee7b33bd 100644 --- a/sound/pci/aw2/aw2-alsa.c +++ b/sound/pci/aw2/aw2-alsa.c | |||
@@ -229,9 +229,7 @@ static int snd_aw2_dev_free(struct snd_device *device) | |||
229 | if (chip->irq >= 0) | 229 | if (chip->irq >= 0) |
230 | free_irq(chip->irq, (void *)chip); | 230 | free_irq(chip->irq, (void *)chip); |
231 | /* release the i/o ports & memory */ | 231 | /* release the i/o ports & memory */ |
232 | if (chip->iobase_virt) | 232 | iounmap(chip->iobase_virt); |
233 | iounmap(chip->iobase_virt); | ||
234 | |||
235 | pci_release_regions(chip->pci); | 233 | pci_release_regions(chip->pci); |
236 | /* disable the PCI entry */ | 234 | /* disable the PCI entry */ |
237 | pci_disable_device(chip->pci); | 235 | pci_disable_device(chip->pci); |
diff --git a/sound/pci/aw2/aw2-saa7146.c b/sound/pci/aw2/aw2-saa7146.c index 6d24e9536777..1d7890459334 100644 --- a/sound/pci/aw2/aw2-saa7146.c +++ b/sound/pci/aw2/aw2-saa7146.c | |||
@@ -27,7 +27,7 @@ | |||
27 | #include <linux/pci.h> | 27 | #include <linux/pci.h> |
28 | #include <linux/interrupt.h> | 28 | #include <linux/interrupt.h> |
29 | #include <linux/delay.h> | 29 | #include <linux/delay.h> |
30 | #include <asm/io.h> | 30 | #include <linux/io.h> |
31 | #include <sound/core.h> | 31 | #include <sound/core.h> |
32 | #include <sound/initval.h> | 32 | #include <sound/initval.h> |
33 | #include <sound/pcm.h> | 33 | #include <sound/pcm.h> |