[alsa-devel] cmi8330: fix MPU-401 PnP init copy&paste bug
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;
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
participants (2)
-
Ondrej Zary
-
Takashi Iwai