Skip to contentSkip to conversation

fsldma: enable external start for the 83xx controller

PATCH New Ira Snyder 1 participant 1 message May 28, 2009

Subsystems (2)
lore
Share & tools
lore

Ira Snyder

author
#0 lore raw

PATCH 1/1 fsldma: enable external start for the 83xx controller

The 83xx controller has external start capability, but lacks external pause capability. Hook up the external start function pointer for the 83xx controller.

---

Though there is no way to enable external start in the mainline driver, the DMA_SLAVE patch I posted last week does give the ability to enable external start.

I have tested this patch along with the DMA_SLAVE patch using a driver for some custom hardware that uses the external DMA control lines.

 drivers/dma/fsldma.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/dma/fsldma.c +1 -1
index db07113..b2fd35e 100644
@@ -1099,9 +1099,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;
 	}
Signature · 1 line
1.5.4.3