All of lore.kernel.org
 help / color / mirror / Atom feed
* cmi8330: fix MPU-401 PnP init copy&paste bug
@ 2009-06-27 14:17 Ondrej Zary
  2009-06-29  6:16 ` Takashi Iwai
  0 siblings, 1 reply; 2+ messages in thread
From: Ondrej Zary @ 2009-06-27 14:17 UTC (permalink / raw)
  To: alsa-devel

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

Signed-off-by: Ondrej Zary <linux@rainbow-software.org>

--- linux-2.6.30-orig/sound/isa/cmi8330.c	2009-06-10 05:05:27.000000000 +0200
+++ linux-test/sound/isa/cmi8330.c	2009-06-27 13:37:56.000000000 +0200
@@ -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;

-- 
Ondrej Zary

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: cmi8330: fix MPU-401 PnP init copy&paste bug
  2009-06-27 14:17 cmi8330: fix MPU-401 PnP init copy&paste bug Ondrej Zary
@ 2009-06-29  6:16 ` Takashi Iwai
  0 siblings, 0 replies; 2+ messages in thread
From: Takashi Iwai @ 2009-06-29  6:16 UTC (permalink / raw)
  To: Ondrej Zary; +Cc: alsa-devel

At Sat, 27 Jun 2009 16:17:08 +0200,
Ondrej Zary wrote:
> 
> Fix copy&paste bug in PnP MPU-401 initialization.
> 
> Signed-off-by: Ondrej Zary <linux@rainbow-software.org>

Applied now.  Thanks.


Takashi

> --- linux-2.6.30-orig/sound/isa/cmi8330.c	2009-06-10 05:05:27.000000000 +0200
> +++ linux-test/sound/isa/cmi8330.c	2009-06-27 13:37:56.000000000 +0200
> @@ -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;
> 
> -- 
> Ondrej Zary
> _______________________________________________
> Alsa-devel mailing list
> Alsa-devel@alsa-project.org
> http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
> 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-06-29  6:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-06-27 14:17 cmi8330: fix MPU-401 PnP init copy&paste bug Ondrej Zary
2009-06-29  6:16 ` Takashi Iwai

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.