aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/fsl/fsl_spdif.c
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2022-02-23 14:06:25 +0100
committerMark Brown <broonie@kernel.org>2022-02-28 13:33:57 +0000
commit9b3ff6378df33dbea4b9459ee804b25f1ce294ca (patch)
treeb71ec5cc54dce07a00660d22f95b950d0b30d027 /sound/soc/fsl/fsl_spdif.c
parentASoC: mediatek: mt8195: Remove unnecessary print function dev_err() (diff)
downloadlinux-dev-9b3ff6378df33dbea4b9459ee804b25f1ce294ca.tar.xz
linux-dev-9b3ff6378df33dbea4b9459ee804b25f1ce294ca.zip
ASoC: fsl: Drop unused argument from imx_pcm_dma_init()
Since 70d435ba1cd ("ASoC: imx-pcm-dma: simplify pcm_config") the size argument to imx_pcm_dma_init() is unused, so drop it. Also remove the now unused defines that the users of imx_pcm_dma_init() used to pass the size argument Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Link: https://lore.kernel.org/r/20220223130625.3430589-1-s.hauer@pengutronix.de Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/fsl/fsl_spdif.c')
-rw-r--r--sound/soc/fsl/fsl_spdif.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/fsl/fsl_spdif.c b/sound/soc/fsl/fsl_spdif.c
index d178b479c8bd..57c41b2f7d17 100644
--- a/sound/soc/fsl/fsl_spdif.c
+++ b/sound/soc/fsl/fsl_spdif.c
@@ -1522,7 +1522,7 @@ static int fsl_spdif_probe(struct platform_device *pdev)
* Register platform component before registering cpu dai for there
* is not defer probe for platform component in snd_soc_add_pcm_runtime().
*/
- ret = imx_pcm_dma_init(pdev, IMX_SPDIF_DMABUF_SIZE);
+ ret = imx_pcm_dma_init(pdev);
if (ret) {
dev_err_probe(&pdev->dev, ret, "imx_pcm_dma_init failed\n");
goto err_pm_disable;