[alsa-devel] cmi8330: fix MPU-401 PnP init copy&paste bug
Takashi Iwai
tiwai at suse.de
Mon Jun 29 08:16:02 CEST 2009
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 at 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 at alsa-project.org
> http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
>
More information about the Alsa-devel
mailing list