aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sound/core/pcm_lib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/core/pcm_lib.c b/sound/core/pcm_lib.c
index dd9126b92c19..bf34603a7a38 100644
--- a/sound/core/pcm_lib.c
+++ b/sound/core/pcm_lib.c
@@ -371,7 +371,7 @@ int snd_pcm_update_hw_ptr(struct snd_pcm_substream *substream)
371 runtime->silence_size > 0) 371 runtime->silence_size > 0)
372 snd_pcm_playback_silence(substream, new_hw_ptr); 372 snd_pcm_playback_silence(substream, new_hw_ptr);
373 373
374 if (runtime->status->hw_ptr != new_hw_ptr) 374 if (runtime->status->hw_ptr == new_hw_ptr)
375 return 0; 375 return 0;
376 376
377 runtime->hw_ptr_base = hw_base; 377 runtime->hw_ptr_base = hw_base;