From: Sascha Hauer Date: Thu, 30 Sep 2010 13:56:32 +0000 (+0000) Subject: dmaengine: add possibility for cyclic transfers X-Git-Tag: v2.6.37-rc1~79^2~6^4~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=782bc950d84e404422ba21008fd51ee894c8d231;p=pandora-kernel.git dmaengine: add possibility for cyclic transfers Cyclic transfers are useful for audio where a single buffer divided in periods has to be transfered endlessly until stopped. After being prepared the transfer is started using the dma_async_descriptor->tx_submit function. dma_async_descriptor->callback is called after each period. The transfer is stopped using the DMA_TERMINATE_ALL callback. While being used for cyclic transfers the channel cannot be used for other transfer types. Signed-off-by: Sascha Hauer Cc: Haavard Skinnemoen Signed-off-by: Dan Williams --- Reading git-diff-tree failed