Browse Source

[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: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
imx_3.10.17_1.0.0_ga
Adrian Bunk 14 years ago
committed by Jaroslav Kysela
parent
commit
27fe0f4b98
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      sound/pcmcia/vx/vxpocket.c

+ 1
- 1
sound/pcmcia/vx/vxpocket.c View File

@ -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) {


Loading…
Cancel
Save