diff options
Diffstat (limited to 'sound/core/pcm_native.c')
-rw-r--r-- | sound/core/pcm_native.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/core/pcm_native.c b/sound/core/pcm_native.c index b53fa845004d..b79c777d2118 100644 --- a/sound/core/pcm_native.c +++ b/sound/core/pcm_native.c | |||
@@ -1252,6 +1252,8 @@ static int snd_pcm_do_reset(struct snd_pcm_substream *substream, int state) | |||
1252 | if (err < 0) | 1252 | if (err < 0) |
1253 | return err; | 1253 | return err; |
1254 | runtime->hw_ptr_base = 0; | 1254 | runtime->hw_ptr_base = 0; |
1255 | runtime->hw_ptr_interrupt = runtime->status->hw_ptr - | ||
1256 | runtime->status->hw_ptr % runtime->period_size; | ||
1255 | runtime->silence_start = runtime->status->hw_ptr; | 1257 | runtime->silence_start = runtime->status->hw_ptr; |
1256 | runtime->silence_filled = 0; | 1258 | runtime->silence_filled = 0; |
1257 | return 0; | 1259 | return 0; |