Logo Search packages:      
Sourcecode: linux-fsl-imx51 version File versions  Download package

int mxc_dma_disable ( int  channel_num  ) 

This stops the DMA channel and any ongoing transfers. Subsequent use of mxc_dma_enable() will restart the channel and restart the transfer.

Parameters:
channel_num the channel number returned at request time. This would be used by the DMA driver to identify the calling driver and do the necessary cleanup on the channel associated with the particular peripheral
Returns:
returns a negative number on error or 0 on success

Definition at line 661 of file dma_sdma.c.

{
      return -ENODEV;
}


Generated by  Doxygen 1.6.0   Back to index