diff options
author | Takashi Iwai <tiwai@suse.de> | 2012-08-20 22:14:26 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2012-08-20 22:14:26 +0200 |
commit | ddf83485d7da468251716b8040bac1280622181e (patch) | |
tree | d28e9b511dedcfed447577f4bb49a99b244a9430 /sound/usb/pcm.c | |
parent | 099d53c308f50e8ee5b6638ec3f40f0104b3ee31 (diff) | |
parent | 535b6c51fe8293c88ce919cdfc4390c67a1cb6d1 (diff) |
Merge branch 'for-linus' into for-next
Conflicts:
sound/pci/hda/hda_codec.c
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/usb/pcm.c')
-rw-r--r-- | sound/usb/pcm.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sound/usb/pcm.c b/sound/usb/pcm.c index a1298f37942..62ec808ed79 100644 --- a/sound/usb/pcm.c +++ b/sound/usb/pcm.c @@ -544,6 +544,9 @@ static int snd_usb_pcm_prepare(struct snd_pcm_substream *substream) subs->last_frame_number = 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 * updates for all URBs would happen at the same time when starting */ if (subs->direction == SNDRV_PCM_STREAM_PLAYBACK) |