Merge branch 'fix/misc' into for-linus
* fix/misc: ALSA: cmi8330: fix MPU-401 PnP init copy&paste bug
This commit is contained in:
commit
7d489c460e
|
@ -338,7 +338,7 @@ static int __devinit snd_cmi8330_pnp(int dev, struct snd_cmi8330 *acard,
|
|||
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;
|
||||
|
|
Loading…
Reference in a new issue