/* This is a special case, and normally, the dma_transfer_xxx functions should be used. */
int dma_start_transfer(DMA_Handle_t handle)
/* This is a special case, and normally, the dma_transfer_xxx functions should be used. */
int dma_start_transfer(DMA_Handle_t handle)
{
	DMA_Channel_t *channel;
	DMA_DeviceAttribute_t *devAttr;
	channel = HandleToChannel(handle);
	if (channel == NULL) {
		return -ENODEV;
	}
	devAttr = &DMA_gDeviceAttribute[channel->devType];
	dmacHw_initiateTransfer(channel->dmacHwHandle, &devAttr->config,
				devAttr->ring.virtAddr);
	return 0;
}