aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/dma
diff options
context:
space:
mode:
authorLudovic Desroches <ludovic.desroches@atmel.com>2014-11-13 05:52:40 -0500
committerVinod Koul <vinod.koul@intel.com>2014-11-17 03:37:20 -0500
commit77e6c9bfaa622183c5fe9aa23be4822dd21038d1 (patch)
tree2f63d08ebea13f88480ffa0fcc5043a1a1785a86 /drivers/dma
parent6e5ae29b6dbdb60ef60f769d7b80274d62e6fbcf (diff)
dmaengine: at_xdmac: remove chancnt affectation
Remove chancnt affectation since it is done in dma_async_device_regiser. Signed-off-by: Ludovic Desroches <ludovic.desroches@atmel.com> Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'drivers/dma')
-rw-r--r--drivers/dma/at_xdmac.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/dma/at_xdmac.c b/drivers/dma/at_xdmac.c
index 1f53d92f63d3..fcecbaddb351 100644
--- a/drivers/dma/at_xdmac.c
+++ b/drivers/dma/at_xdmac.c
@@ -1393,7 +1393,6 @@ static int at_xdmac_probe(struct platform_device *pdev)
1393 atxdmac->dma.device_prep_dma_memcpy = at_xdmac_prep_dma_memcpy; 1393 atxdmac->dma.device_prep_dma_memcpy = at_xdmac_prep_dma_memcpy;
1394 atxdmac->dma.device_prep_slave_sg = at_xdmac_prep_slave_sg; 1394 atxdmac->dma.device_prep_slave_sg = at_xdmac_prep_slave_sg;
1395 atxdmac->dma.device_control = at_xdmac_control; 1395 atxdmac->dma.device_control = at_xdmac_control;
1396 atxdmac->dma.chancnt = nr_channels;
1397 atxdmac->dma.device_slave_caps = at_xdmac_device_slave_caps; 1396 atxdmac->dma.device_slave_caps = at_xdmac_device_slave_caps;
1398 1397
1399 /* Disable all chans and interrupts. */ 1398 /* Disable all chans and interrupts. */