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~93^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2efee387dc7c3a6cca92f6e9250a464ae3f8aec8;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