[PATCH 17/63] dmaengine: ste_dma40: Calculate number of logical channels from physical ones

Linus Walleij linus.walleij at linaro.org
Fri May 3 16:15:16 EDT 2013


On Fri, May 3, 2013 at 4:32 PM, Lee Jones <lee.jones at linaro.org> wrote:

> This change will cost ~25KB of memory, but it's worth the trade-off,
> as it removes a great deal of overhead. It means that instead of only
> allocating memory for the logical channels in use, it does so for all
> available ones, which is 32 per physical channel. However, this now
> means we can remove some platform data and we don't have to worry
> about adding vendor specific variables to Device Tree.
>
> Acked-by: Vinod Koul <vnod.koul at intel.com>
> Acked-by: Linus Walleij <linus.walleij at linaro.org>
> Signed-off-by: Lee Jones <lee.jones at linaro.org>

Patch applied to my ux500-dma40 branch.

Thanks!
Linus Walleij



More information about the linux-arm-kernel mailing list