Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 111086
b: refs/heads/master
c: 32fe614
h: refs/heads/master
v: v3
  • Loading branch information
Takashi Iwai authored and Jaroslav Kysela committed Oct 10, 2008
1 parent f02e649 commit be5a77a
Show file tree
Hide file tree
Showing 2 changed files with 5 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: 59b3db6c69ae9eeed1d8fc3aee6b88272ba38ba8
refs/heads/master: 32fe61426373d85e797bf4f4dcbe4510487c3e00
8 changes: 4 additions & 4 deletions trunk/sound/drivers/mtpav.c
Original file line number Diff line number Diff line change
Expand Up @@ -715,6 +715,10 @@ static int __devinit snd_mtpav_probe(struct platform_device *dev)

card->private_free = snd_mtpav_free;

err = snd_mtpav_get_RAWMIDI(mtp_card);
if (err < 0)
goto __error;

err = snd_mtpav_get_ISA(mtp_card);
if (err < 0)
goto __error;
Expand All @@ -724,10 +728,6 @@ static int __devinit snd_mtpav_probe(struct platform_device *dev)
snprintf(card->longname, sizeof(card->longname),
"MTPAV on parallel port at 0x%lx", port);

err = snd_mtpav_get_RAWMIDI(mtp_card);
if (err < 0)
goto __error;

snd_mtpav_portscan(mtp_card);

snd_card_set_dev(card, &dev->dev);
Expand Down

0 comments on commit be5a77a

Please sign in to comment.