From: Viresh Kumar Date: Fri, 29 Jul 2011 10:51:57 +0000 (+0530) Subject: dmaengine/dmatest: Terminate transfers on all channels in case of error or exit X-Git-Tag: v3.2-rc1~47^2~18^2~28 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9704efaa52ab18eb3504c4e0bc421c1d01b7981a;p=pandora-kernel.git dmaengine/dmatest: Terminate transfers on all channels in case of error or exit 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 Signed-off-by: Vinod Koul --- Reading git-diff-tree failed