[patch 054/108] ALSA: cmi8330: fix MPU-401 PnP init copy&paste bug

Greg KH
2009-07-01T01:01:44Z

[-- Attachment #1: alsa-cmi8330-fix-mpu-401-pnp-init-copy-paste-bug.patch --]
[-- Type: text/plain, Size: 790 bytes --]

2.6.30-stable review patch. If anyone has any objections, please let us know.

------------------

From: Ondrej Zary <linux@rainbow-software.org>

commit c2a30d711852e4f39c8a79135b3caa701f7a8e02 upstream.

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

Signed-off-by: Ondrej Zary <linux@rainbow-software.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

---
sound/isa/cmi8330.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

--- a/sound/isa/cmi8330.c
+++ b/sound/isa/cmi8330.c
@@ -338,7 +338,7 @@ static int __devinit snd_cmi8330_pnp(int
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;