diff options
author | Viresh Kumar <viresh.kumar@st.com> | 2011-08-05 06:02:41 -0400 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2011-08-25 10:03:39 -0400 |
commit | 036f05fd6dcdb6a6b9e55703cb663112fa4c4e42 (patch) | |
tree | 073bb36d9d6da0b8687e14f8690a7c0e9a2bcdff /drivers/dma/shdma.c | |
parent | e0719165801fad04073e7dcd90e4afd02aba3fb7 (diff) |
dmaengine/amba-pl08x: Choose peripheral bus as master bus
When we have DMA transfers between peripheral and memory, then we shouldn't
reduce width of peripheral at all, as that may be a strict requirement. But we
can always reduce width of memory access, with some compromise in performance.
Thus, we must select peripheral as master and not memory.
Also this rearranges code to make it shorter.
Signed-off-by: Viresh Kumar <viresh.kumar@st.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'drivers/dma/shdma.c')
0 files changed, 0 insertions, 0 deletions