aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/dma/fsldma.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/fsldma.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/fsldma.c')
-rw-r--r--drivers/dma/fsldma.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/dma/fsldma.c b/drivers/dma/fsldma.c
index d8ae18dbf1a7..95b36b7934a5 100644
--- a/drivers/dma/fsldma.c
+++ b/drivers/dma/fsldma.c
@@ -658,13 +658,6 @@ static void fsl_dma_memcpy_issue_pending(struct dma_chan *chan)
658 fsl_chan_xfer_ld_queue(fsl_chan); 658 fsl_chan_xfer_ld_queue(fsl_chan);
659} 659}
660 660
661static void fsl_dma_dependency_added(struct dma_chan *chan)
662{
663 struct fsl_dma_chan *fsl_chan = to_fsl_chan(chan);
664
665 fsl_chan_ld_cleanup(fsl_chan);
666}
667
668/** 661/**
669 * fsl_dma_is_complete - Determine the DMA status 662 * fsl_dma_is_complete - Determine the DMA status
670 * @fsl_chan : Freescale DMA channel 663 * @fsl_chan : Freescale DMA channel
@@ -1089,7 +1082,6 @@ static int __devinit of_fsl_dma_probe(struct of_device *dev,
1089 fdev->common.device_prep_dma_memcpy = fsl_dma_prep_memcpy; 1082 fdev->common.device_prep_dma_memcpy = fsl_dma_prep_memcpy;
1090 fdev->common.device_is_tx_complete = fsl_dma_is_complete; 1083 fdev->common.device_is_tx_complete = fsl_dma_is_complete;
1091 fdev->common.device_issue_pending = fsl_dma_memcpy_issue_pending; 1084 fdev->common.device_issue_pending = fsl_dma_memcpy_issue_pending;
1092 fdev->common.device_dependency_added = fsl_dma_dependency_added;
1093 fdev->common.dev = &dev->dev; 1085 fdev->common.dev = &dev->dev;
1094 1086
1095 irq = irq_of_parse_and_map(dev->node, 0); 1087 irq = irq_of_parse_and_map(dev->node, 0);