[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 fcb952f..de5bb9c 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 */