dw_dmac: Mark all tx_descriptors with DMA_CRTL_ACK after xfer finish
authorViresh Kumar <viresh.kumar@st.com>
Thu, 3 Mar 2011 10:17:20 +0000 (15:47 +0530)
committerVinod Koul <vinod.koul@intel.com>
Sun, 6 Mar 2011 19:42:27 +0000 (01:12 +0530)
commite518076ef8cb56adb558ff56ad5bfa0cd9f3abd9
treece195fa32ee663a23a346ac042b70b01385ab58d
parent418e74070662e1ae7d9bb5202f773d35c9a7f05e
dw_dmac: Mark all tx_descriptors with DMA_CRTL_ACK after xfer finish

dwc_desc_get checks all descriptors for DMA_CTRL_ACK before allocating them for
transfers. And descriptors are not marked with DMA_CRTL_ACK after transfer
finishes. Thus descriptor once used is not usable again. This patch marks
descriptors with DMA_CRTL_ACK after dma xfer finishes

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