aboutsummaryrefslogtreecommitdiffstats
path: root/sound/isa/opl3sa2.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2009-03-23 19:36:13 -0400
committerTakashi Iwai <tiwai@suse.de>2009-03-23 19:36:13 -0400
commitfa15fdeffa3977b17882f485547e65296cf0bd30 (patch)
tree79ef506dd09de46687598ee340e4d6f85494aa19 /sound/isa/opl3sa2.c
parent843ad02fa4fb9230cd19923cc8ea1d6096cadf4e (diff)
parent37ba1b62836d2440980cf553c49556393b05c6cd (diff)
Merge branch 'topic/isa-misc' into for-linus
Diffstat (limited to 'sound/isa/opl3sa2.c')
-rw-r--r--sound/isa/opl3sa2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/isa/opl3sa2.c b/sound/isa/opl3sa2.c
index 9c5fce31f06b..ef95279da7a3 100644
--- a/sound/isa/opl3sa2.c
+++ b/sound/isa/opl3sa2.c
@@ -623,7 +623,7 @@ static void snd_opl3sa2_free(struct snd_card *card)
623{ 623{
624 struct snd_opl3sa2 *chip = card->private_data; 624 struct snd_opl3sa2 *chip = card->private_data;
625 if (chip->irq >= 0) 625 if (chip->irq >= 0)
626 free_irq(chip->irq, (void *)chip); 626 free_irq(chip->irq, card);
627 release_and_free_resource(chip->res_port); 627 release_and_free_resource(chip->res_port);
628} 628}
629 629
@@ -638,7 +638,7 @@ static int snd_opl3sa2_card_new(int dev, struct snd_card **cardp)
638 if (err < 0) 638 if (err < 0)
639 return err; 639 return err;
640 strcpy(card->driver, "OPL3SA2"); 640 strcpy(card->driver, "OPL3SA2");
641 strcpy(card->shortname, "Yamaha OPL3-SA2"); 641 strcpy(card->shortname, "Yamaha OPL3-SA");
642 chip = card->private_data; 642 chip = card->private_data;
643 spin_lock_init(&chip->reg_lock); 643 spin_lock_init(&chip->reg_lock);
644 chip->irq = -1; 644 chip->irq = -1;