From: Lee Jones Date: Fri, 3 May 2013 14:31:55 +0000 (+0100) Subject: dmaengine: ste_dma40: Rectify incorrect configuration validation checking X-Git-Tag: omap-for-v3.11/fixes-for-merge-window~68^2~17^2~32 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4f8fc46c797015dddc1d4c76e1b485b57373683b;p=pandora-kernel.git dmaengine: ste_dma40: Rectify incorrect configuration validation checking If we compare an event's group (dev_type / 16) with STEDMA40_DEV_DST_MEMORY (-1), the only way we'd obtain a positive result is if we passed -16 as a device type, which is unfeasible. Instead, it would be much more sane to compare STEDMA40_DEV_DST_MEMORY against the raw dev_type in order to expect the expected result. Acked-by: Vinod Koul Signed-off-by: Lee Jones Signed-off-by: Linus Walleij --- Reading git-diff-tree failed