aboutsummaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2007-05-02 06:07:55 -0400
committerJaroslav Kysela <perex@suse.cz>2007-05-11 10:56:13 -0400
commit27fe0f4b985d8427d93ff6c9457e198ab8ffe035 (patch)
treeff9365a807fcfd5496453689f305aa30e836f33e /sound
parent82c8c74107c31673478031e90e24a2b74ca680f2 (diff)
[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>
Diffstat (limited to 'sound')
-rw-r--r--sound/pcmcia/vx/vxpocket.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pcmcia/vx/vxpocket.c b/sound/pcmcia/vx/vxpocket.c
index 363bcb5f08e6..c57e127d9ccb 100644
--- a/sound/pcmcia/vx/vxpocket.c
+++ b/sound/pcmcia/vx/vxpocket.c
@@ -297,7 +297,7 @@ static int vxpocket_probe(struct pcmcia_device *p_dev)
297 297
298 /* find an empty slot from the card list */ 298 /* find an empty slot from the card list */
299 for (i = 0; i < SNDRV_CARDS; i++) { 299 for (i = 0; i < SNDRV_CARDS; i++) {
300 if (! card_alloc & (1 << i)) 300 if (!(card_alloc & (1 << i)))
301 break; 301 break;
302 } 302 }
303 if (i >= SNDRV_CARDS) { 303 if (i >= SNDRV_CARDS) {