Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 16192
b: refs/heads/master
c: 676338a
h: refs/heads/master
v: v3
  • Loading branch information
Takashi Iwai authored and Jaroslav Kysela committed Jan 4, 2006
1 parent a68d7bc commit 8d73090
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 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: 3e23c658833f135508127c955d40d7c9387f71dd
refs/heads/master: 676338a1623ee9b60a6efb19ef8f743ab3b2eecb
6 changes: 3 additions & 3 deletions trunk/sound/drivers/opl3/opl3_lib.c
Original file line number Diff line number Diff line change
Expand Up @@ -409,13 +409,13 @@ int snd_opl3_create(struct snd_card *card,
if (! integrated) {
if ((opl3->res_l_port = request_region(l_port, 2, "OPL2/3 (left)")) == NULL) {
snd_printk(KERN_ERR "opl3: can't grab left port 0x%lx\n", l_port);
snd_opl3_free(opl3);
snd_device_free(card, opl3);
return -EBUSY;
}
if (r_port != 0 &&
(opl3->res_r_port = request_region(r_port, 2, "OPL2/3 (right)")) == NULL) {
snd_printk(KERN_ERR "opl3: can't grab right port 0x%lx\n", r_port);
snd_opl3_free(opl3);
snd_device_free(card, opl3);
return -EBUSY;
}
}
Expand All @@ -434,7 +434,7 @@ int snd_opl3_create(struct snd_card *card,
if ((err = snd_opl3_detect(opl3)) < 0) {
snd_printd("OPL2/3 chip not detected at 0x%lx/0x%lx\n",
opl3->l_port, opl3->r_port);
snd_opl3_free(opl3);
snd_device_free(card, opl3);
return err;
}
/* detect routine returns correct hardware type */
Expand Down

0 comments on commit 8d73090

Please sign in to comment.