From: Ludovic Desroches Date: Tue, 27 Jan 2015 15:30:32 +0000 (+0100) Subject: dmaengine: at_xdmac: allow muliple dwidths when doing slave transfers X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~48^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6d3a7d9e3ada345948f72564ce638c412ccd8c4a;p=pandora-kernel.git dmaengine: at_xdmac: allow muliple dwidths when doing slave transfers When using FIFO, we need to support differents data width in a single transfer. For example, serial device which usually uses 1-byte data width will use 4-bytes data width when using the FIFO. If the transfer size is not aligned on 4-bytes then the end of the transfer will be performed with 1-byte data-width. For that reason, at_xdmac_prep_slave_sg() now builds linked list descriptors using view 2 instead of view 1 so each of them can update the DWIDTH field into the Channel Configuration Register. Signed-off-by: Cyrille Pitchen Signed-off-by: Ludovic Desroches Signed-off-by: Vinod Koul --- Reading git-diff-tree failed