]> git.baikalelectronics.ru Git - kernel.git/commitdiff
ASoC: rockchip: i2s: Remove unwanted dma settings in rockchip_i2s_probe
authorJudy Hsiao <judyhsiao@chromium.org>
Wed, 29 Jun 2022 08:04:21 +0000 (08:04 +0000)
committerMark Brown <broonie@kernel.org>
Wed, 29 Jun 2022 10:58:47 +0000 (11:58 +0100)
Remove the unwanted dma settings in rockchip_i2s_probe.

Fixes: c45e559c1fca ("ASoC: rockchip: i2s: switch BCLK to GPIO")
Signed-off-by: Judy Hsiao <judyhsiao@chromium.org>
Link: https://lore.kernel.org/r/20220629080421.2427933-1-judyhsiao@chromium.org
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/rockchip/rockchip_i2s.c

index ebd829ac09fec0ef9997ad5bb9ec0791ace50f70..f783994cc16ad2c3c997eff816314fd10ca0fb3a 100644 (file)
@@ -817,14 +817,6 @@ static int rockchip_i2s_probe(struct platform_device *pdev)
 
        i2s_pinctrl_select_bclk_off(i2s);
 
-       i2s->playback_dma_data.addr = res->start + I2S_TXDR;
-       i2s->playback_dma_data.addr_width = DMA_SLAVE_BUSWIDTH_4_BYTES;
-       i2s->playback_dma_data.maxburst = 4;
-
-       i2s->capture_dma_data.addr = res->start + I2S_RXDR;
-       i2s->capture_dma_data.addr_width = DMA_SLAVE_BUSWIDTH_4_BYTES;
-       i2s->capture_dma_data.maxburst = 4;
-
        dev_set_drvdata(&pdev->dev, i2s);
 
        pm_runtime_enable(&pdev->dev);