Skip to contentSkip to conversation

cmi8330: fix MPU-401 PnP init copy&paste bug

PATCH Ondrej Zary 2 participants 2 messages Jun 27, 2009 – Jun 29, 2009 Sound

lore
Share & tools
lore
#0 lore raw

Fix copy&paste bug in PnP MPU-401 initialization.

sound/isa/cmi8330.c +1 -1
@@ -338,7 +338,7 @@
 		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;
Signature · 1 line
Ondrej Zary
#1 lore raw

At Sat, 27 Jun 2009 16:17:08 +0200,

Quoted 4 lines · Ondrej Zary

Fix copy&paste bug in PnP MPU-401 initialization.

Applied now. Thanks.

Takashi

Quoted 19 lines
sound/isa/cmi8330.c +1 -1
@@ -338,7 +338,7 @@
 		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;
Signature · 6 lines
-- 
Ondrej Zary
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel