]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
dmaengine: add dma_slave_get_caps api
authorVinod Koul <vinod.koul@intel.com>
Mon, 8 Jul 2013 08:45:25 +0000 (14:15 +0530)
committerVinod Koul <vinod.koul@intel.com>
Mon, 15 Jul 2013 16:18:58 +0000 (21:48 +0530)
commit221a27c76033a3a4196b3da09848bc5f237f3f94
treeff08d283c00b35a63126d016ef433255ffc15908
parentad81f0545ef01ea651886dddac4bef6cec930092
dmaengine: add dma_slave_get_caps api

add new device callback .device_slave_caps api which can be used by clients to
query the dma channel capablties before they program the channel. This can help
is removing errors during the channel programming. Also add helper
dma_slave_get_caps API

This patch folds the work done by Matt earlier
https://patchwork.kernel.org/patch/2094891/

Signed-off-by: Vinod Koul <vinod.koul@intel.com>
include/linux/dmaengine.h