[PATCH v2 2/7] LPC32xx: clock.c: jiffies wrapping

Wolfram Sang w.sang at pengutronix.de
Tue Jan 31 05:24:50 EST 2012


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 <stigge at antcom.de>

Acked-by: Wolfram Sang <w.sang at pengutronix.de> 
Tested-by: Wolfram Sang <w.sang at pengutronix.de>

-- 
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>


More information about the linux-arm-kernel mailing list