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)
committerDong Aisheng <aisheng.dong@nxp.com>
Mon, 14 Dec 2020 02:57:01 +0000 (10:57 +0800)
commit6c3e3e0c105db38a9b09f6f6043b2ee8ac0fe16f
tree479871e4afc2aeb74983fd6f064c1d296e244576
parentffa6d1b66d06e4d283117a06db5f7670cf11961a
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