Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 206696
b: refs/heads/master
c: fa95a64
h: refs/heads/master
v: v3
  • Loading branch information
Kulikov Vasiliy authored and Takashi Iwai committed Jul 29, 2010
1 parent b96bb65 commit 9a51a4c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 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: ec9d04b2a8f00b14a3df4714820cb2cda46dc4d6
refs/heads/master: fa95a6471ffaa6f40d71f44fc4d4636ee17280f5
5 changes: 4 additions & 1 deletion trunk/sound/isa/msnd/msnd_pinnacle.c
Original file line number Diff line number Diff line change
Expand Up @@ -549,7 +549,10 @@ static int __devinit snd_msnd_attach(struct snd_card *card)
printk(KERN_ERR LOGNAME ": Couldn't grab IRQ %d\n", chip->irq);
return err;
}
request_region(chip->io, DSP_NUMIO, card->shortname);
if (request_region(chip->io, DSP_NUMIO, card->shortname) == NULL) {
free_irq(chip->irq, chip);
return -EBUSY;
}

if (!request_mem_region(chip->base, BUFFSIZE, card->shortname)) {
printk(KERN_ERR LOGNAME
Expand Down

0 comments on commit 9a51a4c

Please sign in to comment.