From: Takashi Iwai Date: Tue, 23 Aug 2005 17:01:38 +0000 (+0200) Subject: [ALSA] vxpocket - Fix wrong index assignment X-Git-Tag: v2.6.14-rc1~1029^2~14 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=adf111e6ff1674b81cae3ff7cdd5a5d1edf003f0;p=linux-2.6 [ALSA] vxpocket - Fix wrong index assignment Digigram VX Pocket driver Fixed the wrong index number assignment. Signed-off-by: Takashi Iwai --- diff --git a/sound/pcmcia/vx/vxpocket.c b/sound/pcmcia/vx/vxpocket.c index fcb952f94e..de5bb9c26b 100644 --- a/sound/pcmcia/vx/vxpocket.c +++ b/sound/pcmcia/vx/vxpocket.c @@ -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 */