dmaengine/dmatest: Terminate transfers on all channels in case of error or exit
authorViresh Kumar <viresh.kumar@st.com>
Fri, 29 Jul 2011 10:51:57 +0000 (16:21 +0530)
committerVinod Koul <vinod.koul@intel.com>
Mon, 8 Aug 2011 14:02:01 +0000 (19:32 +0530)
In case, some error occurs while doing memcpy transfers, we must terminate all
transfers physically too. This is achieved by calling device_control() routine
with TERMINATE_ALL as parameter.

This is also required to be done in case module is removed while we are in
middle of some transfers.

Signed-off-by: Viresh Kumar <viresh.kumar@st.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>

No differences found