lkml.org 
[lkml]   [2013]   [Jul]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH 9/9] dma: tegra20-apbdma: remove legacy nvidia,dma-request-selector support
Date
All tegra dma client drivers have moved to generic dma binding.

Signed-off-by: Richard Zhao <rizhao@nvidia.com>
---
drivers/dma/tegra20-apb-dma.c | 8 --------
1 file changed, 8 deletions(-)

diff --git a/drivers/dma/tegra20-apb-dma.c b/drivers/dma/tegra20-apb-dma.c
index 0e12f78..a67d159 100644
--- a/drivers/dma/tegra20-apb-dma.c
+++ b/drivers/dma/tegra20-apb-dma.c
@@ -344,13 +344,6 @@ static int tegra_dma_slave_config(struct dma_chan *dc,

memcpy(&tdc->dma_sconfig, sconfig, sizeof(*sconfig));

- /* If we didn't get slave_id from DT when request channel, use the one
- * passed here.
- * It makes compatible with legacy nvidia,dma-request-selector.
- */
- if (tdc->slave_id == -EINVAL)
- tdc->slave_id = sconfig->slave_id;
-
tdc->config_init = true;
return 0;
}
@@ -1374,7 +1367,6 @@ static int tegra_dma_probe(struct platform_device *pdev)
&tdma->dma_dev.channels);
tdc->tdma = tdma;
tdc->id = i;
- tdc->slave_id = -EINVAL;

tasklet_init(&tdc->tasklet, tegra_dma_tasklet,
(unsigned long)tdc);
--
1.8.1.5


\
 
 \ /
  Last update: 2013-07-24 07:01    [W:0.075 / U:6.760 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site