dmaengine/dmatest: terminate transfers only in case of errors
authorShiraz Hashim <shiraz.hashim@st.com>
Fri, 9 Nov 2012 15:26:29 +0000 (15:26 +0000)
committerVinod Koul <vinod.koul@intel.com>
Tue, 8 Jan 2013 06:05:07 +0000 (22:05 -0800)
commit5e034f7b659be9d94e64aaaa985ab530dd847fdb
tree2d26d8d83035a199d8f773f9bc66562713387133
parent7c1119bdd650fa58dad8157bc75c5fcf6ed97843
dmaengine/dmatest: terminate transfers only in case of errors

dmatest erroneously terminated transfers in normal cases also leading to
test failures for multiple threads over a channel. Fix this and
terminate transfers only in case of errors.

Signed-off-by: Shiraz Hashim <shiraz.hashim@st.com>
Signed-off-by: Deepak Sikri <deepak.sikri@st.com>
Signed-off-by: Vinod Koul <vinod.koul@linux.intel.com>
drivers/dma/dmatest.c