aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/dma/iop-adma.c
diff options
context:
space:
mode:
authorDan Williams <dan.j.williams@intel.com>2008-04-17 23:17:26 -0400
committerDan Williams <dan.j.williams@intel.com>2008-04-17 16:25:54 -0400
commitce4d65a5db77e1568c82d5151a746f627c4f6ed5 (patch)
tree1f3936d2984fc03125bde025796465f9cada9075 /drivers/dma/iop-adma.c
parent19242d7233df7d658405d4b7ee1758d21414cfaa (diff)
async_tx: kill ->device_dependency_added
DMA drivers no longer need to be notified of dependency submission events as async_tx_run_dependencies and async_tx_channel_switch will handle the scheduling and execution of dependent operations. [sfr@canb.auug.org.au: extend this for fsldma] Acked-by: Shannon Nelson <shannon.nelson@intel.com> Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers/dma/iop-adma.c')
-rw-r--r--drivers/dma/iop-adma.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/dma/iop-adma.c b/drivers/dma/iop-adma.c
index 21854cd7190f..2aa3df50c842 100644
--- a/drivers/dma/iop-adma.c
+++ b/drivers/dma/iop-adma.c
@@ -672,12 +672,6 @@ iop_adma_prep_dma_zero_sum(struct dma_chan *chan, dma_addr_t *dma_src,
672 return sw_desc ? &sw_desc->async_tx : NULL; 672 return sw_desc ? &sw_desc->async_tx : NULL;
673} 673}
674 674
675static void iop_adma_dependency_added(struct dma_chan *chan)
676{
677 struct iop_adma_chan *iop_chan = to_iop_adma_chan(chan);
678 tasklet_schedule(&iop_chan->irq_tasklet);
679}
680
681static void iop_adma_free_chan_resources(struct dma_chan *chan) 675static void iop_adma_free_chan_resources(struct dma_chan *chan)
682{ 676{
683 struct iop_adma_chan *iop_chan = to_iop_adma_chan(chan); 677 struct iop_adma_chan *iop_chan = to_iop_adma_chan(chan);
@@ -1178,7 +1172,6 @@ static int __devinit iop_adma_probe(struct platform_device *pdev)
1178 dma_dev->device_free_chan_resources = iop_adma_free_chan_resources; 1172 dma_dev->device_free_chan_resources = iop_adma_free_chan_resources;
1179 dma_dev->device_is_tx_complete = iop_adma_is_complete; 1173 dma_dev->device_is_tx_complete = iop_adma_is_complete;
1180 dma_dev->device_issue_pending = iop_adma_issue_pending; 1174 dma_dev->device_issue_pending = iop_adma_issue_pending;
1181 dma_dev->device_dependency_added = iop_adma_dependency_added;
1182 dma_dev->dev = &pdev->dev; 1175 dma_dev->dev = &pdev->dev;
1183 1176
1184 /* set prep routines based on capability */ 1177 /* set prep routines based on capability */