summaryrefslogtreecommitdiff
path: root/sound/soc/fsl/imx-hdmi-dma.c
AgeCommit message (Collapse)Author
2019-11-25ASoC: imx-hdmi-dma: Fix issue with dma_alloc_coherentShengjiu Wang
Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
2019-11-25ASoC: imx-hdmi-dma: replace platform to componentVipul Kumar
As per commit 4cb1ea925e66 ("ASoC: fsl: dma: replace platform to component"), replace platform to component. Signed-off-by: Vipul Kumar <vipul_kumar@mentor.com>
2019-11-25MLK-13224: ASoC: imx-hdmi-dma: fix glitch noise issue in long time playbackShengjiu Wang
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>
2019-11-25MLK-9731 ASoC: imx-hdmi-dma: audio output is noisy in long time playbackShengjiu Wang
In the frame_to_bytes(), when hw_ptr*frame_bits exceed the maxmum of unsigned long, the return value is saturated, so the appl_bytes is wrong. This patch is to correct the usage of frame_to_bytes(). Signed-off-by: Shengjiu Wang <shengjiu.wang@freescale.com> (cherry picked from commit 9e66132d9c96305b65aa5fa3ba8a35271a04ded9)
2019-11-25MLK-11530-01 ASoC: fsl_hdmi: port hdmi audio driverShengjiu Wang
cherry-pick below patch from v3.14.y: ENGR00330403-2: ASoC: fsl_hdmi: port hdmi audio driver from imx_3.10.y Port HDMI audio driver (CPU driver, machine driver, platform driver) from imx_3.10.y. Signed-off-by: Shengjiu Wang <shengjiu.wang@freescale.com> During 4.14 rebase converted from snd_pcm_ops.copy to copy_user because copy was removed by upstream Signed-off-by: Leonard Crestez <leonard.crestez@nxp.com> [ Aisheng: fix conflicts for a clean base and merge MLK-12244 file onwership change ] Signed-off-by: Dong Aisheng <aisheng.dong@nxp.com>