This stops the DMA channel and any ongoing transfers. Subsequent use of mxc_dma_enable() will restart the channel and restart the transfer.
|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 a negative number on error or 0 on success
Definition at line 661 of file dma_sdma.c.