tree e5b9d885e08242a0afe5a10c45bf15542029c387
parent 328ac7da6f49f2c8b8af349fef525ad79b4a3987
author Takashi Iwai <[EMAIL PROTECTED]> Tue, 23 Aug 2005 19:01:38 +0200
committer Jaroslav Kysela <[EMAIL PROTECTED]> Tue, 30 Aug 2005 08:47:13 +0200

[ALSA] vxpocket - Fix wrong index assignment

Digigram VX Pocket driver
Fixed the wrong index number assignment.

Signed-off-by: Takashi Iwai <[EMAIL PROTECTED]>

 sound/pcmcia/vx/vxpocket.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/sound/pcmcia/vx/vxpocket.c b/sound/pcmcia/vx/vxpocket.c
--- 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 */
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to