summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sound/soc/fsl/imx-hdmi-dma.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/fsl/imx-hdmi-dma.c b/sound/soc/fsl/imx-hdmi-dma.c
index d0e907a07790..8f3e79845fa6 100644
--- a/sound/soc/fsl/imx-hdmi-dma.c
+++ b/sound/soc/fsl/imx-hdmi-dma.c
@@ -447,7 +447,7 @@ static void hdmi_dma_data_copy(struct snd_pcm_substream *substream,
appl_bytes = frames_to_bytes(runtime, runtime->status->hw_ptr);
if (type == 'p')
- appl_bytes += 8 * priv->period_bytes;
+ appl_bytes += 2 * priv->period_bytes;
offset = appl_bytes % priv->buffer_bytes;
switch (type) {