Skip to content

Commit

Permalink
ALSA: cmi8330: fix MPU-401 PnP init copy&paste bug
Browse files Browse the repository at this point in the history
Fix copy&paste bug in PnP MPU-401 initialization.

Signed-off-by: Ondrej Zary <linux@rainbow-software.org>
Cc: <stable@kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
  • Loading branch information
Ondrej Zary authored and Takashi Iwai committed Jun 29, 2009
1 parent 28d0325 commit c2a30d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sound/isa/cmi8330.c
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@ static int __devinit snd_cmi8330_pnp(int dev, struct snd_cmi8330 *acard,
return -EBUSY;

acard->mpu = pnp_request_card_device(card, id->devs[2].id, NULL);
if (acard->play == NULL)
if (acard->mpu == NULL)
return -EBUSY;

pdev = acard->cap;
Expand Down

0 comments on commit c2a30d7

Please sign in to comment.