mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [2.6 patch] sound/pcmcia/vx/vxpocket.c: fix an if() condition
@ 2007-04-28 19:21 Adrian Bunk
  0 siblings, 0 replies; only message in thread
From: Adrian Bunk @ 2007-04-28 19:21 UTC (permalink / raw)
  To: perex, Takashi Iwai; +Cc: linux-kernel

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

Signed-off-by: Adrian Bunk <bunk@stusta.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) {


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-04-28 19:21 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-04-28 19:21 [2.6 patch] sound/pcmcia/vx/vxpocket.c: fix an if() condition Adrian Bunk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome