dmaengine: add helper function for slave_single
authorVinod Koul <vinod.koul@intel.com>
Mon, 25 Jul 2011 14:27:52 +0000 (19:57 +0530)
committerVinod Koul <vinod.koul@intel.com>
Mon, 8 Aug 2011 11:18:14 +0000 (16:48 +0530)
commit90b44f8ffdf6c66d190ee71b330009bf7f11a208
tree2e1b068b048118664793573d2a21784b5326274e
parent322a8b034003c0d46d39af85bf24fee27b902f48
dmaengine: add helper function for slave_single

For clients which require a single slave transfer and dont want to be bothered
about the scatterlist api, this helper gives simple API for this transfer and
creates single scatterlist for DMA API

Idea from Russell King

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