[PATCH v2 2/7] LPC32xx: clock.c: jiffies wrapping
From: Wolfram Sang <hidden>
Date: 2012-01-31 10:24:54
Also in:
lkml
From: Wolfram Sang <hidden>
Date: 2012-01-31 10:24:54
Also in:
lkml
On Mon, Jan 30, 2012 at 05:02:01PM +0100, Roland Stigge wrote:
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 <redacted>
Acked-by: Wolfram Sang <redacted> Tested-by: Wolfram Sang <redacted> -- Pengutronix e.K. | Wolfram Sang | Industrial Linux Solutions | http://www.pengutronix.de/ | -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 198 bytes Desc: Digital signature URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20120131/a40c1742/attachment.sig>