Logo Search packages:      
Sourcecode: linux version File versions

int mxc_dma_free ( int  channel_num  ) 

This function is generally called by the driver at close time. The DMA driver would do any cleanup associated with this channel.

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

Referenced by mxcuart_freedma(), mxcuart_initdma(), snd_card_mxc_spdif_capture_close(), snd_card_mxc_spdif_playback_close(), and spdif_configure_dma_channel().

{
      return -ENODEV;
}


Generated by  Doxygen 1.6.0   Back to index