intel_mid_dma: add support for single item scatter-gather list
authorFeng Tang <feng.tang@intel.com>
Thu, 2 Dec 2010 09:14:30 +0000 (17:14 +0800)
committerDan Williams <dan.j.williams@intel.com>
Sat, 4 Dec 2010 23:09:50 +0000 (15:09 -0800)
commit0be035f3485379d812d617ee7eaa255cde97dbfa
tree42b298c929d3100229112bc0fa1f88166f788622
parent66bde0b70aa2e348ac2c9b9626743c1402b9d466
intel_mid_dma: add support for single item scatter-gather list

Current driver's device_prep_slave_sg can't be used by DMAC2 even
the sg list contains one item, this patch will enable DMAC2 to
use this API.

Signed-off-by: Feng Tang <feng.tang@intel.com>
Acked-by: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/dma/intel_mid_dma.c