commit | e518076ef8cb56adb558ff56ad5bfa0cd9f3abd9 | [log] [tgz] |
---|---|---|
author | Viresh Kumar <viresh.kumar@st.com> | Thu Mar 03 15:47:20 2011 +0530 |
committer | Vinod Koul <vinod.koul@intel.com> | Mon Mar 07 01:12:27 2011 +0530 |
tree | ce195fa32ee663a23a346ac042b70b01385ab58d | |
parent | 418e74070662e1ae7d9bb5202f773d35c9a7f05e [diff] |
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>