[PATCH 5/5] Add DMA engine driver for Freescale MPC85xx processors.

Scott Wood scottwood at freescale.com
Wed Sep 12 00:20:14 EST 2007


On Tue, Sep 11, 2007 at 06:10:53PM +0800, Zhang Wei-r63237 wrote:
> > >+
> > >+	fsl_dma_memcpy_issue_pending(chan);
> > >+	while (fsl_dma_is_complete(chan, cookie, NULL, NULL)
> > >+			!= DMA_SUCCESS);
> > 
> > Again, is it possible to hang your thread here?
> > 
> > [...]
> 
> I'll add msleep here.

I think what was being sought was a timout, causing the test to return
failure.

-Scott



More information about the Linuxppc-dev mailing list