dw_dmac: Move single descriptor from dwc->queue to dwc->active_list in dwc_complete_all
authorViresh Kumar <viresh.kumar@st.com>
Thu, 3 Mar 2011 10:17:16 +0000 (15:47 +0530)
committerVinod Koul <vinod.koul@intel.com>
Sun, 6 Mar 2011 19:42:27 +0000 (01:12 +0530)
commitf336e42f73d93b74fd21bf9176ee6c7ab8b195c5
treefd42f601403891f212943fe3c186a30bc5698c0f
parentcb689a706d17ef19a61735670ded60466dd015fa
dw_dmac: Move single descriptor from dwc->queue to dwc->active_list in dwc_complete_all

dwc_complete_all and other routines was removing all descriptors from dwc->queue
and pushing them to dwc->active_list. Only one was required to be removed. Also
we are calling dwc_dostart, once list is fixed.

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