Code Review
/
kvmfornfv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
Upgrade to 4.4.50-rt62
[kvmfornfv.git]
/
kernel
/
sound
/
usb
/
hiface
/
pcm.c
diff --git
a/kernel/sound/usb/hiface/pcm.c
b/kernel/sound/usb/hiface/pcm.c
index
2c44139
..
33db205
100644
(file)
--- a/
kernel/sound/usb/hiface/pcm.c
+++ b/
kernel/sound/usb/hiface/pcm.c
@@
-445,6
+445,8
@@
static int hiface_pcm_prepare(struct snd_pcm_substream *alsa_sub)
mutex_lock(&rt->stream_mutex);
+ hiface_pcm_stream_stop(rt);
+
sub->dma_off = 0;
sub->period_off = 0;