[PATCH 14/18] dmaengine/amba-pl08x: Choose peripheral bus as master bus

Linus Walleij linus.walleij at linaro.org
Sat Jul 30 20:36:20 EDT 2011


2011/7/29 Viresh Kumar <viresh.kumar at st.com>:

> 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 at st.com>

Looks correct to me!
Acked-by: Linus Walleij <linus.walleij at linaro.org>

Thanks,
Linus Walleij



More information about the linux-arm-kernel mailing list