aboutsummaryrefslogtreecommitdiffstats
path: root/lib/dma-debug.c
diff options
context:
space:
mode:
authorViresh Kumar <viresh.kumar@st.com>2012-02-01 16:12:21 +0530
committerVinod Koul <vinod.koul@linux.intel.com>2012-02-22 18:15:38 +0530
commite8d9f875c9b02bb56ba3bb44834ae81ba0e8efbc (patch)
tree60aee6edfd2bd1b4c460039c54106560d014ff4f /lib/dma-debug.c
parentdmaengine/amba-pl08x: Take flow controller info from DMA_SLAVE_CONFIG (diff)
downloadlinux-rng-e8d9f875c9b02bb56ba3bb44834ae81ba0e8efbc.tar.xz
linux-rng-e8d9f875c9b02bb56ba3bb44834ae81ba0e8efbc.zip
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>
Diffstat (limited to 'lib/dma-debug.c')
0 files changed, 0 insertions, 0 deletions