From: Vinod Koul Date: Sat, 11 Oct 2014 15:46:47 +0000 (+0530) Subject: dmaengine: freescale: remove FSLDMA_EXTERNAL_START control method X-Git-Tag: firefly_0821_release~176^2~3002^2~1^2~1 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=01c6ad660cb4a388d15d0e7ba9744c5ffc583a61;p=firefly-linux-kernel-4.4.55.git dmaengine: freescale: remove FSLDMA_EXTERNAL_START control method since users have been move to fsl_dma_external_start() API, so remove this now Signed-off-by: Vinod Koul --- diff --git a/drivers/dma/fsldma.c b/drivers/dma/fsldma.c index 0cded86f946c..994bcb2c6b92 100644 --- a/drivers/dma/fsldma.c +++ b/drivers/dma/fsldma.c @@ -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; }