]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
dmaengine/dw_dmac: don't call callback routine in case dmaengine_terminate_all()...
authorViresh Kumar <viresh.kumar@st.com>
Fri, 15 Apr 2011 10:33:35 +0000 (16:03 +0530)
committerVinod Koul <vinod.koul@intel.com>
Fri, 13 May 2011 14:09:46 +0000 (19:39 +0530)
commit5fedefb87bd0a64281d28edd295f29e3b989d78c
tree685ad5799aee56907febe1cd22aa240a90ff35a5
parentde7a2f9f7b6f5b48d8531ff4c9c9b95cab8a8ce8
dmaengine/dw_dmac: don't call callback routine in case dmaengine_terminate_all() is called

If dmaengine_terminate_all() is called for dma channel, then it doesn't make
much sense to call registered callback routine. While in case of success or
failure it must be called.

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