Commit 715a1705 authored by Dylan Reid's avatar Dylan Reid Committed by Takashi Iwai
Browse files

ALSA: usb-audio: set period_bytes in substream.

Set the peiod_bytes member of snd_usb_substream.  It was no longer being
set, but will be needed to resume properly in a future commit.
Signed-off-by: default avatarDylan Reid <>
Signed-off-by: default avatarTakashi Iwai <>
parent 4b527b65
......@@ -486,6 +486,8 @@ static int snd_usb_hw_params(struct snd_pcm_substream *substream,
if (changed) {
subs->period_bytes = params_period_bytes(hw_params);
/* format changed */
stop_endpoints(subs, 0, 0, 0);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment