From: Maxime Ripard Date: Mon, 20 Jul 2015 08:41:32 +0000 (+0200) Subject: dmaengine: Add an enum for the dmaengine alignment constraints X-Git-Tag: omap-for-v4.3/fixes-rc1~94^2~71 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=77a68e56aae141d3e9c740a0ac43362af75d4890;p=pandora-kernel.git dmaengine: Add an enum for the dmaengine alignment constraints Most drivers need to set constraints on the buffer alignment for async tx operations. However, even though it is documented, some drivers either use a defined constant that is not matching what the alignment variable expects (like DMA_BUSWIDTH_* constants) or fill the alignment in bytes instead of power of two. Add a new enum for these alignments that matches what the framework expects, and convert the drivers to it. Signed-off-by: Maxime Ripard Signed-off-by: Vinod Koul --- Reading git-diff-tree failed