commit | e8d9f875c9b02bb56ba3bb44834ae81ba0e8efbc | [log] [tgz] |
---|---|---|
author | Viresh Kumar <viresh.kumar@st.com> | Wed Feb 01 16:12:21 2012 +0530 |
committer | Vinod Koul <vinod.koul@linux.intel.com> | Wed Feb 22 18:15:38 2012 +0530 |
tree | 60aee6edfd2bd1b4c460039c54106560d014ff4f | |
parent | 8c9f7aa316f547f70d270a08d1212f958721c071 [diff] |
dmaengine/dw_dmac: Don't use magic number for total number of channels Total number of channels is passed in pdata->nr_channels variable, thus we must not use magic number '7' for total number of channels. Signed-off-by: Viresh Kumar <viresh.kumar@st.com> Signed-off-by: Vinod Koul <vinod.koul@linux.intel.com>