[ALSA] sound/pcmcia/vx/vxpocket.c: fix an if() condition
authorAdrian Bunk <bunk@stusta.de>
Wed, 2 May 2007 10:07:55 +0000 (12:07 +0200)
committerJaroslav Kysela <perex@suse.cz>
Fri, 11 May 2007 14:56:13 +0000 (16:56 +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 363bcb5f08e671c6d085e42e717afba5057d6035..c57e127d9ccb1fd98b14666d716b6f2d40cfcb75 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) {