From: Andy Shevchenko Date: Thu, 10 Jan 2013 08:52:57 +0000 (+0200) Subject: dma: at_hdmac: check direction properly for cyclic transfers X-Git-Tag: v3.9-rc1~80^2~42 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0e7264cc79a2d5c0ffa32c08d8f1cf84b2ec4fef;p=pandora-kernel.git dma: at_hdmac: check direction properly for cyclic transfers dma_transfer_direction is a normal enum. It means we can't usually use the values as bit fields. Let's adjust this check and move it above the usage of the direction parameter, due to the nature of the following usage of it. Signed-off-by: Andy Shevchenko Reviewed-by: Viresh Kumar Acked-by: Nicolas Ferre Signed-off-by: Vinod Koul --- Reading git-diff-tree failed