Update dma_api.c

Add trigger for both source and destination