Browse Source

[ALSA] vxpocket - Fix wrong index assignment

Digigram VX Pocket driver
Fixed the wrong index number assignment.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Takashi Iwai 20 years ago
parent
commit
adf111e6ff
1 changed files with 1 additions and 1 deletions
  1. 1 1
      sound/pcmcia/vx/vxpocket.c

+ 1 - 1
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 */