From: Guennadi Liakhovetski Date: Wed, 18 Sep 2013 07:33:08 +0000 (+0200) Subject: DMA: ste_dma40: use a power of 2 check X-Git-Tag: v3.13-rc1~29^2~23^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c95905a6a36858122afe1c334eba64499b39d7a2;p=pandora-kernel.git DMA: ste_dma40: use a power of 2 check dst_addr_width and src_addr_width should be a power of 2. Currently the driver checks, that they both lie between 1 and 8 and that they are equal to 1 or even. This however leaves an invalid value of 6 uncaught. Use an explicit power of 2 check instead. Signed-off-by: Guennadi Liakhovetski [typo fix on changelog] Signed-off-by: Vinod Koul --- Reading git-diff-tree failed