Skip to content

Commit 947d299

Browse files
zonquetiwai
authored andcommitted
ALSA: snd-usb: properly initialize the sync endpoint
Jeffrey Barish reported an obvious bug in the pcm part of the usb-audio driver which causes the code to not initialize the sync endpoint from configure_endpoint(). Reported-by: Jeffrey Barish <jeff_barish@earthlink.net> Signed-off-by: Daniel Mack <zonque@gmail.com> Cc: stable@kernel.org [3.5+] Signed-off-by: Takashi Iwai <tiwai@suse.de>
1 parent 34c3d19 commit 947d299

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sound/usb/pcm.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -459,7 +459,7 @@ static int configure_endpoint(struct snd_usb_substream *subs)
459459
return ret;
460460

461461
if (subs->sync_endpoint)
462-
ret = snd_usb_endpoint_set_params(subs->data_endpoint,
462+
ret = snd_usb_endpoint_set_params(subs->sync_endpoint,
463463
subs->pcm_format,
464464
subs->channels,
465465
subs->period_bytes,

0 commit comments

Comments
 (0)