MLK-13224: ASoC: imx-hdmi-dma: fix glitch noise issue in long time playback
authorShengjiu Wang <shengjiu.wang@freescale.com>
Fri, 14 Oct 2016 03:44:34 +0000 (11:44 +0800)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 19:52:25 +0000 (14:52 -0500)
commitf2ad001f6eb2f40c6f3ade2f87be39bf5eee6a52
treed55c76730a82cf14252338b9da3fdf8bf6d7657c
parent48821bdc2351ac6edaadf87e0a8423725d7da1f1
MLK-13224: ASoC: imx-hdmi-dma: fix glitch noise issue in long time playback

The calculation "runtime->status->hw_ptr * (runtime->frame_bits / 8)" may
exceed the integer scope, then appl_bytes is no correct.
This patch is to fix this issue.

Signed-off-by: Shengjiu Wang <shengjiu.wang@freescale.com>
sound/soc/fsl/imx-hdmi-dma.c