From: Maxime Ripard Date: Thu, 7 May 2015 15:38:09 +0000 (+0200) Subject: dmaengine: xdmac: Add function to align width X-Git-Tag: omap-for-v4.3/legacy-v2-signed~103^2~4^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f0816a36887b5b6acb387d8a554c5f5ed4069d33;p=pandora-kernel.git dmaengine: xdmac: Add function to align width The code has some logic to compute the burst width according to the alignment of the address we're using. Move that in a function of its own to reduce code duplication. Signed-off-by: Maxime Ripard Acked-by: Ludovic Desroches Signed-off-by: Vinod Koul --- Reading git-diff-tree failed