diff options
Diffstat (limited to 'sound/pci/ad1889.c')
-rw-r--r-- | sound/pci/ad1889.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/sound/pci/ad1889.c b/sound/pci/ad1889.c index a66d5150bb7a..39ec55b57b1e 100644 --- a/sound/pci/ad1889.c +++ b/sound/pci/ad1889.c | |||
@@ -264,10 +264,10 @@ snd_ad1889_ac97_ready(struct snd_ad1889 *chip) | |||
264 | mdelay(1); | 264 | mdelay(1); |
265 | if (!retry) { | 265 | if (!retry) { |
266 | snd_printk(KERN_ERR PFX "[%s] Link is not ready.\n", | 266 | snd_printk(KERN_ERR PFX "[%s] Link is not ready.\n", |
267 | __FUNCTION__); | 267 | __func__); |
268 | return -EIO; | 268 | return -EIO; |
269 | } | 269 | } |
270 | ad1889_debug("[%s] ready after %d ms\n", __FUNCTION__, 400 - retry); | 270 | ad1889_debug("[%s] ready after %d ms\n", __func__, 400 - retry); |
271 | 271 | ||
272 | return 0; | 272 | return 0; |
273 | } | 273 | } |
@@ -854,8 +854,6 @@ snd_ad1889_free(struct snd_ad1889 *chip) | |||
854 | 854 | ||
855 | spin_unlock_irq(&chip->lock); | 855 | spin_unlock_irq(&chip->lock); |
856 | 856 | ||
857 | synchronize_irq(chip->irq); | ||
858 | |||
859 | if (chip->irq >= 0) | 857 | if (chip->irq >= 0) |
860 | free_irq(chip->irq, chip); | 858 | free_irq(chip->irq, chip); |
861 | 859 | ||