]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - sound/soc/fsl/imx-hdmi-dma.c
ENGR00306875-1 Revert "ENGR00305624-2 ASoC: imx-hdmi-dma: Correct the appl pointer"
[karo-tx-linux.git] / sound / soc / fsl / imx-hdmi-dma.c
index d0e907a07790efe07471e22443fbc9572338e162..8f3e79845fa643b88df2a8f9f7370ef202beed7c 100644 (file)
@@ -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) {