Skip to contentSkip to conversation

sound/pcmcia/vx/vxpocket.c: fix an if() condition

PATCH New Adrian Bunk 1 participant 1 message Apr 28, 2007 Sound

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 sound/pcmcia/vx/vxpocket.c: fix an if() condition

It seems noone ever tried to use this driver with more than one device.

---

sound/pcmcia/vx/vxpocket.c renamed from sound/pcmcia/vx/vxpocket.c.old +1 -1
@@ -297,7 +297,7 @@ static int vxpocket_probe(struct pcmcia_
 
 	/* 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) {