From: Roland Stigge Date: Wed, 8 Feb 2012 20:41:02 +0000 (+0100) Subject: ARM: LPC32xx: clock.c: jiffies wrapping X-Git-Tag: v3.4-rc1~73^2~3^2^3~3^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f40a6818857e00c1d0ecec9af832f46a83f12f53;p=pandora-kernel.git ARM: LPC32xx: clock.c: jiffies wrapping This patch fixes the jiffies wrapping bug in clock.c. It corrects the timeout computation based on jiffies, uses time_before() for correct wrapping handling and replaces a binary "&" which should really be a logical "&&" in a truth expression. Signed-off-by: Roland Stigge Acked-by: Wolfram Sang Tested-by: Wolfram Sang Acked-by: Kevin Wells Signed-off-by: Olof Johansson --- Reading git-diff-tree failed