[ALSA] sound/pcmcia/vx/vxpocket.c: fix an if() condition
Adrian Bunk [Wed, 2 May 2007 10:07:55 +0000 (12:07 +0200)]
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>

sound/pcmcia/vx/vxpocket.c

index 363bcb5..c57e127 100644 (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) {