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: http://pilppa.com/gitweb/?a=commitdiff_plain;h=adf111e6ff1674b81cae3ff7cdd5a5d1edf003f0;p=linux-2.6-omap-h63xx.git [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 fcb952f94ef..de5bb9c26b7 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 */