]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
dmaengine: at_xdmac: remove chancnt affectation
authorLudovic Desroches <ludovic.desroches@atmel.com>
Thu, 13 Nov 2014 10:52:40 +0000 (11:52 +0100)
committerVinod Koul <vinod.koul@intel.com>
Mon, 17 Nov 2014 08:37:20 +0000 (14:07 +0530)
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>
drivers/dma/at_xdmac.c

index 1f53d92f63d352a9f9d6274e887ea51bd1df4b5f..fcecbaddb351a7c711764e18d5a149f86b2ab612 100644 (file)
@@ -1393,7 +1393,6 @@ static int at_xdmac_probe(struct platform_device *pdev)
        atxdmac->dma.device_prep_dma_memcpy             = at_xdmac_prep_dma_memcpy;
        atxdmac->dma.device_prep_slave_sg               = at_xdmac_prep_slave_sg;
        atxdmac->dma.device_control                     = at_xdmac_control;
-       atxdmac->dma.chancnt                            = nr_channels;
        atxdmac->dma.device_slave_caps                  = at_xdmac_device_slave_caps;
 
        /* Disable all chans and interrupts. */