X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=kernel%2Fsound%2Fusb%2Fhiface%2Fpcm.c;fp=kernel%2Fsound%2Fusb%2Fhiface%2Fpcm.c;h=33db205dd12b57d8b53436d5fd2eb9ff6cc2a22a;hb=52f993b8e89487ec9ee15a7fb4979e0f09a45b27;hp=2c44139b404188607fc47e863aa9b33419ae5fcc;hpb=c189ccac5702322ed843fe17057035b7222a59b6;p=kvmfornfv.git diff --git a/kernel/sound/usb/hiface/pcm.c b/kernel/sound/usb/hiface/pcm.c index 2c44139b4..33db205dd 100644 --- 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;