fsldma: enable external start for the 83xx controller
authorIra Snyder <iws@ovro.caltech.edu>
Thu, 28 May 2009 09:20:42 +0000 (09:20 +0000)
committerDan Williams <dan.j.williams@intel.com>
Tue, 16 Jun 2009 18:43:00 +0000 (11:43 -0700)
The 83xx controller has external start capability, but lacks external pause
capability. Hook up the external start function pointer for the 83xx
controller.

Signed-off-by: Ira W. Snyder <iws@ovro.caltech.edu>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/dma/fsldma.c

index a1cb25e277b503007dd043e096c913b8b8437cef..10bcf0cb0efcf4cbc99264d06146183da98e1a12 100644 (file)
@@ -877,9 +877,9 @@ static int __devinit fsl_dma_chan_probe(struct fsl_dma_device *fdev,
 
        switch (new_fsl_chan->feature & FSL_DMA_IP_MASK) {
        case FSL_DMA_IP_85XX:
-               new_fsl_chan->toggle_ext_start = fsl_chan_toggle_ext_start;
                new_fsl_chan->toggle_ext_pause = fsl_chan_toggle_ext_pause;
        case FSL_DMA_IP_83XX:
+               new_fsl_chan->toggle_ext_start = fsl_chan_toggle_ext_start;
                new_fsl_chan->set_src_loop_size = fsl_chan_set_src_loop_size;
                new_fsl_chan->set_dest_loop_size = fsl_chan_set_dest_loop_size;
        }