From: Lee Jones Date: Fri, 3 May 2013 14:32:03 +0000 (+0100) Subject: dmaengine: ste_dma40: Calculate number of logical channels from physical ones X-Git-Tag: omap-for-v3.11/fixes-for-merge-window~68^2~17^2~24 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=db72da92103e3023e6a4fdfe65183b21bfe5d883;p=pandora-kernel.git dmaengine: ste_dma40: Calculate number of logical channels from physical ones 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 Signed-off-by: Lee Jones Signed-off-by: Linus Walleij --- Reading git-diff-tree failed