OSDN Git Service
(root)
/
tomoyo
/
tomoyo-test1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
02d91fe
)
ASoC: rockchip: i2s: Remove unwanted dma settings in rockchip_i2s_probe
author
Judy Hsiao
<judyhsiao@chromium.org>
Wed, 29 Jun 2022 08:04:21 +0000
(08:04 +0000)
committer
Mark 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:
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>
sound/soc/rockchip/rockchip_i2s.c
patch
|
blob
|
history
diff --git
a/sound/soc/rockchip/rockchip_i2s.c
b/sound/soc/rockchip/rockchip_i2s.c
index
ebd829a
..
f783994
100644
(file)
--- 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);