[ALSA] vxpocket - Fix wrong index assignment

Digigram VX Pocket driver
Fixed the wrong index number assignment.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
Takashi Iwai 2005-08-23 19:01:38 +02:00 committed by Jaroslav Kysela
parent 328ac7da6f
commit adf111e6ff

View File

@ -407,7 +407,7 @@ static dev_link_t *vxpocket_attach(void)
return NULL; return NULL;
} }
vxp->index = index[i]; vxp->index = i;
card_alloc |= 1 << i; card_alloc |= 1 << i;
/* Chain drivers */ /* Chain drivers */