X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=sound%2Fpci%2Fvia82xx.c;h=6781be9e3078ac702364770f407fbc4458486882;hb=b17b3d479c4c43c3a980ee553c3be3ca456523de;hp=a756be661f9aa94e1e1d4af3c77a666f02a25355;hpb=4f4ae0d42680889c62db4e1f3e6b4aa7787a7257;p=linux-2.6 diff --git a/sound/pci/via82xx.c b/sound/pci/via82xx.c index a756be661f..6781be9e30 100644 --- a/sound/pci/via82xx.c +++ b/sound/pci/via82xx.c @@ -1756,6 +1756,12 @@ static struct ac97_quirk ac97_quirks[] = { .name = "ECS L7VMM2", .type = AC97_TUNE_HP_ONLY }, + { + .subvendor = 0x1019, + .subdevice = 0x1841, + .name = "ECS K7VTA3", + .type = AC97_TUNE_HP_ONLY + }, { .subvendor = 0x1849, .subdevice = 0x3059, @@ -2236,7 +2242,7 @@ static int snd_via82xx_free(struct via82xx *chip) /* disable interrupts */ for (i = 0; i < chip->num_devs; i++) snd_via82xx_channel_reset(chip, &chip->devs[i]); - synchronize_irq(chip->irq); + if (chip->irq >= 0) free_irq(chip->irq, chip); __end_hw: