Skip to content

Commit

Permalink
Merge branch 'fix/misc' into for-linus
Browse files Browse the repository at this point in the history
  • Loading branch information
tiwai committed Feb 13, 2009
2 parents ebb8802 + 32cf9a1 commit b4583a4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sound/drivers/mtpav.c
Original file line number Diff line number Diff line change
Expand Up @@ -706,7 +706,6 @@ static int __devinit snd_mtpav_probe(struct platform_device *dev)
mtp_card->card = card;
mtp_card->irq = -1;
mtp_card->share_irq = 0;
mtp_card->inmidiport = 0xffffffff;
mtp_card->inmidistate = 0;
mtp_card->outmidihwport = 0xffffffff;
init_timer(&mtp_card->timer);
Expand All @@ -719,6 +718,8 @@ static int __devinit snd_mtpav_probe(struct platform_device *dev)
if (err < 0)
goto __error;

mtp_card->inmidiport = mtp_card->num_ports + MTPAV_PIDX_BROADCAST;

err = snd_mtpav_get_ISA(mtp_card);
if (err < 0)
goto __error;
Expand Down

0 comments on commit b4583a4

Please sign in to comment.