summaryrefslogtreecommitdiffstats
path: root/sound/soc/rockchip
diff options
context:
space:
mode:
authorJudy Hsiao <judyhsiao@chromium.org>2022-06-29 10:04:21 +0200
committerMark Brown <broonie@kernel.org>2022-06-29 12:58:47 +0200
commitd6910eaa6fc71c0307e16b310a07cdb347d26d7d (patch)
tree7dfe00f9fd119ab4cc3ece8514ad0e60e43cf356 /sound/soc/rockchip
parentASoC: dt-bindings: fsl,micfil: Convert format to json-schema (diff)
downloadlinux-d6910eaa6fc71c0307e16b310a07cdb347d26d7d.tar.xz
linux-d6910eaa6fc71c0307e16b310a07cdb347d26d7d.zip
ASoC: rockchip: i2s: Remove unwanted dma settings in rockchip_i2s_probe
Remove the unwanted dma settings in rockchip_i2s_probe. Fixes: 44f362c2cc6d ("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>
Diffstat (limited to 'sound/soc/rockchip')
-rw-r--r--sound/soc/rockchip/rockchip_i2s.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/sound/soc/rockchip/rockchip_i2s.c b/sound/soc/rockchip/rockchip_i2s.c
index ebd829ac09fe..f783994cc16a 100644
--- a/sound/soc/rockchip/rockchip_i2s.c
+++ b/sound/soc/rockchip/rockchip_i2s.c
@@ -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);