[ALSA] vxpocket - Fix wrong index assignment
authorTakashi Iwai <tiwai@suse.de>
Tue, 23 Aug 2005 17:01:38 +0000 (19:01 +0200)
committerJaroslav Kysela <perex@suse.cz>
Tue, 30 Aug 2005 06:47:13 +0000 (08:47 +0200)
Digigram VX Pocket driver
Fixed the wrong index number assignment.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pcmcia/vx/vxpocket.c

index fcb952f94ef86ac9839c4ba28fadbaabc4af39c4..de5bb9c26b7794e272be08467f2309becf22c1c1 100644 (file)
@@ -407,7 +407,7 @@ static dev_link_t *vxpocket_attach(void)
                return NULL;
        }
 
-       vxp->index = index[i];
+       vxp->index = i;
        card_alloc |= 1 << i;
 
        /* Chain drivers */