projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
82c8c74
)
[ALSA] sound/pcmcia/vx/vxpocket.c: fix an if() condition
author
Adrian Bunk
<bunk@stusta.de>
Wed, 2 May 2007 10:07:55 +0000
(12:07 +0200)
committer
Jaroslav Kysela
<perex@suse.cz>
Fri, 11 May 2007 14:56:13 +0000
(16:56 +0200)
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>
sound/pcmcia/vx/vxpocket.c
patch
|
blob
|
history
diff --git
a/sound/pcmcia/vx/vxpocket.c
b/sound/pcmcia/vx/vxpocket.c
index 363bcb5f08e671c6d085e42e717afba5057d6035..c57e127d9ccb1fd98b14666d716b6f2d40cfcb75 100644
(file)
--- 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)
/* 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) {