From: Ondrej Zary Date: Sat, 27 Jun 2009 14:17:08 +0000 (+0200) Subject: ALSA: cmi8330: fix MPU-401 PnP init copy&paste bug X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=c2a30d711852e4f39c8a79135b3caa701f7a8e02;p=openwrt%2Fstaging%2Fblogic.git ALSA: cmi8330: fix MPU-401 PnP init copy&paste bug Fix copy&paste bug in PnP MPU-401 initialization. Signed-off-by: Ondrej Zary Cc: Signed-off-by: Takashi Iwai --- diff --git a/sound/isa/cmi8330.c b/sound/isa/cmi8330.c index de83608719ea..3ee0269e5bd0 100644 --- a/sound/isa/cmi8330.c +++ b/sound/isa/cmi8330.c @@ -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;