mirror of https://gitee.com/openkylin/linux.git
Merge remote-tracking branch 'asoc/fix/tegra' into asoc-linus
This commit is contained in:
commit
c5ae4dca11
|
@ -389,9 +389,9 @@ static int tegra20_ac97_platform_probe(struct platform_device *pdev)
|
|||
ac97->capture_dma_data.slave_id = of_dma[1];
|
||||
|
||||
ac97->playback_dma_data.addr = mem->start + TEGRA20_AC97_FIFO_TX1;
|
||||
ac97->capture_dma_data.addr_width = DMA_SLAVE_BUSWIDTH_4_BYTES;
|
||||
ac97->capture_dma_data.maxburst = 4;
|
||||
ac97->capture_dma_data.slave_id = of_dma[0];
|
||||
ac97->playback_dma_data.addr_width = DMA_SLAVE_BUSWIDTH_4_BYTES;
|
||||
ac97->playback_dma_data.maxburst = 4;
|
||||
ac97->playback_dma_data.slave_id = of_dma[1];
|
||||
|
||||
ret = tegra_asoc_utils_init(&ac97->util_data, &pdev->dev);
|
||||
if (ret)
|
||||
|
|
|
@ -323,8 +323,8 @@ static int tegra20_spdif_platform_probe(struct platform_device *pdev)
|
|||
}
|
||||
|
||||
spdif->playback_dma_data.addr = mem->start + TEGRA20_SPDIF_DATA_OUT;
|
||||
spdif->capture_dma_data.addr_width = DMA_SLAVE_BUSWIDTH_4_BYTES;
|
||||
spdif->capture_dma_data.maxburst = 4;
|
||||
spdif->playback_dma_data.addr_width = DMA_SLAVE_BUSWIDTH_4_BYTES;
|
||||
spdif->playback_dma_data.maxburst = 4;
|
||||
spdif->playback_dma_data.slave_id = dmareq->start;
|
||||
|
||||
pm_runtime_enable(&pdev->dev);
|
||||
|
|
Loading…
Reference in New Issue