diff options
author | Adrian Bunk <bunk@stusta.de> | 2007-05-02 12:07:55 +0200 |
---|---|---|
committer | Jaroslav Kysela <perex@suse.cz> | 2007-05-11 16:56:13 +0200 |
commit | 27fe0f4b985d8427d93ff6c9457e198ab8ffe035 (patch) | |
tree | ff9365a807fcfd5496453689f305aa30e836f33e /sound/pcmcia | |
parent | [ALSA] snd-emu10k1: Prevent E-Mu 1010 Notebook card from hanging PC. (diff) | |
download | linux-27fe0f4b985d8427d93ff6c9457e198ab8ffe035.tar.xz linux-27fe0f4b985d8427d93ff6c9457e198ab8ffe035.zip |
[ALSA] 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@stusta.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
Diffstat (limited to 'sound/pcmcia')
-rw-r--r-- | sound/pcmcia/vx/vxpocket.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pcmcia/vx/vxpocket.c b/sound/pcmcia/vx/vxpocket.c index 363bcb5f08e6..c57e127d9ccb 100644 --- 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) { |