Skip to content

Commit

Permalink
[ALSA] sound/pcmcia/vx/vxpocket.c: fix an if() condition
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Adrian Bunk authored and Jaroslav Kysela committed May 11, 2007
1 parent 82c8c74 commit 27fe0f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sound/pcmcia/vx/vxpocket.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 27fe0f4

Please sign in to comment.