]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
dmatest: fix automatic buffer unmap type
authorIra Snyder <iws@ovro.caltech.edu>
Thu, 3 Mar 2011 07:54:53 +0000 (07:54 +0000)
committerDan Williams <dan.j.williams@intel.com>
Sat, 12 Mar 2011 01:52:35 +0000 (17:52 -0800)
commitb203bd3f6b9c3db3b1979c2ff79bb2b9be8f03a3
tree647397b857fcad368078a72711ad2d25c7ea030a
parent6c11371dd17c5bd29e3a53cf5263be6ea67c51e4
dmatest: fix automatic buffer unmap type

The dmatest code relies on the DMAEngine API to automatically call
dma_unmap_single() on src buffers. The flags it passes are incorrect,
fix them.

Signed-off-by: Ira W. Snyder <iws@ovro.caltech.edu>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/dma/dmatest.c