You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
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>
This commit is contained in:
committed by
Takashi Iwai
parent
34c3d1926b
commit
947d299686
+1
-1
@@ -459,7 +459,7 @@ static int configure_endpoint(struct snd_usb_substream *subs)
|
||||
return ret;
|
||||
|
||||
if (subs->sync_endpoint)
|
||||
ret = snd_usb_endpoint_set_params(subs->data_endpoint,
|
||||
ret = snd_usb_endpoint_set_params(subs->sync_endpoint,
|
||||
subs->pcm_format,
|
||||
subs->channels,
|
||||
subs->period_bytes,
|
||||
|
||||
Reference in New Issue
Block a user