Logo Search packages:      
Sourcecode: linux version File versions

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.

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 648 of file dma_sdma.c.

Referenced by sdhci_dma_irq(), spdif_stop_rx(), and spdif_stop_tx().

      return -ENODEV;

Generated by  Doxygen 1.6.0   Back to index