[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20070428192131.GY3468@stusta.de>
Date: Sat, 28 Apr 2007 21:21:31 +0200
From: Adrian Bunk <bunk@...sta.de>
To: perex@...e.cz, Takashi Iwai <tiwai@...e.de>
Cc: linux-kernel@...r.kernel.org
Subject: [2.6 patch] 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@...sta.de>
---
--- linux-2.6.21-rc7-mm2/sound/pcmcia/vx/vxpocket.c.old 2007-04-28 18:17:55.000000000 +0200
+++ linux-2.6.21-rc7-mm2/sound/pcmcia/vx/vxpocket.c 2007-04-28 18:19:34.000000000 +0200
@@ -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) {
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists