Commit 8d847c97 authored by Jaroslav Kysela's avatar Jaroslav Kysela

[ALSA] enable disabling of isapnp

OPL3SA2 driver
Fixed a logic error that prevented the 'isapnp=0' module
parameter from taking effect.
Signed-off-by: default avatarClemens Ladisch <clemens@ladisch.de>
parent 7d177fdd
......@@ -787,7 +787,7 @@ static int __devinit snd_opl3sa2_pnp_detect(struct pnp_card_link *card,
int res;
for ( ; dev < SNDRV_CARDS; dev++) {
if (!enable[dev] && !isapnp[dev])
if (!enable[dev] || !isapnp[dev])
continue;
res = snd_opl3sa2_probe(dev, card, id);
if (res < 0)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment