diff options
author | Peter Ujfalusi <peter.ujfalusi@ti.com> | 2018-11-08 09:29:54 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2018-11-13 09:50:07 -0800 |
commit | c9ece9c29e263a4bda60b141b7b9dece4256b7dd (patch) | |
tree | bc26947a9964a8bf6b5889d80608a907d2373537 /sound/soc/omap | |
parent | dd443a7c0b00edb9aa471a18e4238b0199b3a3ad (diff) |
ASoC: omap-mcbsp: Skip dma_data.maxburst initialization
It is configured runtime so no need to initialize it.
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Acked-by: Jarkko Nikula <jarkko.nikula@bitmer.com>
Tested-by: Jarkko Nikula <jarkko.nikula@bitmer.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/omap')
-rw-r--r-- | sound/soc/omap/mcbsp.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/sound/soc/omap/mcbsp.c b/sound/soc/omap/mcbsp.c index d6784f2887e4..8c3cedfcb878 100644 --- a/sound/soc/omap/mcbsp.c +++ b/sound/soc/omap/mcbsp.c @@ -1035,11 +1035,8 @@ int omap_mcbsp_init(struct platform_device *pdev) mcbsp->dma_data[0].addr = omap_mcbsp_dma_reg_params(mcbsp, SNDRV_PCM_STREAM_PLAYBACK); - mcbsp->dma_data[0].maxburst = 4; - mcbsp->dma_data[1].addr = omap_mcbsp_dma_reg_params(mcbsp, SNDRV_PCM_STREAM_CAPTURE); - mcbsp->dma_data[1].maxburst = 4; mcbsp->fclk = clk_get(&pdev->dev, "fck"); if (IS_ERR(mcbsp->fclk)) { |