From: Takashi Iwai Date: Tue, 23 Aug 2005 17:01:38 +0000 (+0200) Subject: [ALSA] vxpocket - Fix wrong index assignment X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=adf111e6ff1674b81cae3ff7cdd5a5d1edf003f0;p=openwrt%2Fstaging%2Fblogic.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 fcb952f94ef8..de5bb9c26b77 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 */