Skip to content

Commit

Permalink
ASoC: rockchip: i2s: Remove unwanted dma settings in rockchip_i2s_probe
Browse files Browse the repository at this point in the history
Remove the unwanted dma settings in rockchip_i2s_probe.

Fixes: 44f362c ("ASoC: rockchip: i2s: switch BCLK to GPIO")
Signed-off-by: Judy Hsiao <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
  • Loading branch information
Judy Hsiao authored and broonie committed Jun 29, 2022
1 parent 02d91fe commit d6910ea
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions sound/soc/rockchip/rockchip_i2s.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit d6910ea

Please sign in to comment.