]> git.openfabrics.org - ~emulex/infiniband.git/commitdiff
dmaengine: freescale: remove FSLDMA_EXTERNAL_START control method
authorVinod Koul <vinod.koul@intel.com>
Sat, 11 Oct 2014 15:46:47 +0000 (21:16 +0530)
committerVinod Koul <vinod.koul@intel.com>
Wed, 15 Oct 2014 16:01:28 +0000 (21:31 +0530)
since users have been move to fsl_dma_external_start() API, so remove this
now

Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/fsldma.c

index 0cded86f946cd48f7924dfc8ffb3fee22b734fc0..994bcb2c6b92ceb44edcb643300e879003455db8 100644 (file)
@@ -1012,15 +1012,6 @@ static int fsl_dma_device_control(struct dma_chan *dchan,
                chan->set_request_count(chan, size);
                return 0;
 
-       case FSLDMA_EXTERNAL_START:
-
-               /* make sure the channel supports external start */
-               if (!chan->toggle_ext_start)
-                       return -ENXIO;
-
-               chan->toggle_ext_start(chan, arg);
-               return 0;
-
        default:
                return -ENXIO;
        }