From: Gerald Baeza Date: Fri, 21 Sep 2012 19:21:37 +0000 (+0200) Subject: dmaengine: ste_dma40: physical channels number correction X-Git-Tag: v3.9-rc1~80^2~25^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=47db92f4a63499b1605b4c66f9347ba5479e7b19;p=pandora-kernel.git dmaengine: ste_dma40: physical channels number correction DMAC_ICFG[0:2]=SCHNB only allows to count 'multiple of 4' physical channels so it was ok with platforms having 8 channels but cannot be used for next versions (with 10 or 14 channels). This patch allows to provide the number of physical channels for a DMA device via platform_data, or still rely on SCHNB if platform_data announces 0 channel. Signed-off-by: Gerald Baeza Reviewed-by: Per Forlin Acked-by: Linus Walleij Acked-by: Vinod Koul Signed-off-by: Fabio Baltieri --- Reading git-diff-tree failed