提交 27fe0f4b 编写于 作者: A Adrian Bunk 提交者: Jaroslav Kysela

[ALSA] sound/pcmcia/vx/vxpocket.c: fix an if() condition

It seems noone ever tried to use this driver with more than one device.
Signed-off-by: NAdrian Bunk <bunk@stusta.de>
Signed-off-by: NTakashi Iwai <tiwai@suse.de>
Signed-off-by: NJaroslav Kysela <perex@suse.cz>
上级 82c8c741
......@@ -297,7 +297,7 @@ static int vxpocket_probe(struct pcmcia_device *p_dev)
/* find an empty slot from the card list */
for (i = 0; i < SNDRV_CARDS; i++) {
if (! card_alloc & (1 << i))
if (!(card_alloc & (1 << i)))
break;
}
if (i >= SNDRV_CARDS) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册