Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 25253
b: refs/heads/master
c: 10d150e
h: refs/heads/master
i:
  25251: 9ab5278
v: v3
  • Loading branch information
Takashi Iwai authored and Jaroslav Kysela committed Mar 31, 2006
1 parent 18a7480 commit da64084
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 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: b3a70d5ece60684c00d7d94ccc42741efdf99336
refs/heads/master: 10d150e186d069cc7e2075c4823049949933777c
6 changes: 2 additions & 4 deletions trunk/sound/isa/opti9xx/miro.c
Original file line number Diff line number Diff line change
Expand Up @@ -743,8 +743,7 @@ static long snd_legacy_find_free_ioport(long *port_table, long size)
struct resource *res;
if ((res = request_region(*port_table, size,
"ALSA test")) != NULL) {
release_resource(res);
kfree_nocheck(res);
release_and_free_resource(res);
return *port_table;
}
port_table++;
Expand Down Expand Up @@ -1150,8 +1149,7 @@ static int __init snd_card_miro_detect(struct snd_card *card, struct snd_miro *c
if (value == snd_miro_read(chip, OPTi9XX_MC_REG(1)))
return 1;

release_resource(chip->res_mc_base);
kfree_nocheck(chip->res_mc_base);
release_and_free_resource(chip->res_mc_base);
chip->res_mc_base = NULL;

}
Expand Down

0 comments on commit da64084

Please sign in to comment.