|
@@ -544,6 +544,9 @@ static int snd_usb_pcm_prepare(struct snd_pcm_substream *substream)
|
|
subs->last_frame_number = 0;
|
|
subs->last_frame_number = 0;
|
|
runtime->delay = 0;
|
|
runtime->delay = 0;
|
|
|
|
|
|
|
|
+ /* clear the pending deactivation on the target EPs */
|
|
|
|
+ deactivate_endpoints(subs);
|
|
|
|
+
|
|
/* for playback, submit the URBs now; otherwise, the first hwptr_done
|
|
/* for playback, submit the URBs now; otherwise, the first hwptr_done
|
|
* updates for all URBs would happen at the same time when starting */
|
|
* updates for all URBs would happen at the same time when starting */
|
|
if (subs->direction == SNDRV_PCM_STREAM_PLAYBACK)
|
|
if (subs->direction == SNDRV_PCM_STREAM_PLAYBACK)
|