diff options
author | Viresh Kumar <viresh.kumar@st.com> | 2011-04-18 14:54:56 +0530 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2011-05-13 19:40:00 +0530 |
commit | 69dc14b51c1aad9d82afd8f96bf4e4835089bffc (patch) | |
tree | 494e852ee6531c5e91720246baf53623e45e4112 /drivers/dma/ste_dma40_ll.h | |
parent | abf53902dcc6d44d2e06b09817fa67857aa686fe (diff) | |
download | kernel_samsung_tuna-69dc14b51c1aad9d82afd8f96bf4e4835089bffc.zip kernel_samsung_tuna-69dc14b51c1aad9d82afd8f96bf4e4835089bffc.tar.gz kernel_samsung_tuna-69dc14b51c1aad9d82afd8f96bf4e4835089bffc.tar.bz2 |
dmaengine/dw_dmac: Divide one sg to many desc, if sg len is greater than DWC_MAX_COUNT
If len passed in sg for slave_sg transfers is greater than DWC_MAX_COUNT, then
driver programmes controller incorrectly. This patch adds code to handle this
situation by allocation more than one desc for same sg.
Signed-off-by: Viresh Kumar <viresh.kumar@st.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'drivers/dma/ste_dma40_ll.h')
0 files changed, 0 insertions, 0 deletions