From: Viresh Kumar Date: Fri, 5 Aug 2011 10:02:41 +0000 (+0530) Subject: dmaengine/amba-pl08x: Choose peripheral bus as master bus X-Git-Tag: v3.2-rc1~47^2~18^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=036f05fd6dcdb6a6b9e55703cb663112fa4c4e42;p=pandora-kernel.git 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 Acked-by: Linus Walleij Signed-off-by: Vinod Koul --- Reading git-diff-tree failed