[ARM] pxa/viper: fix timeout usage for I2C
authorWolfram Sang <w.sang@pengutronix.de>
Sun, 18 Apr 2010 11:48:29 +0000 (13:48 +0200)
committerEric Miao <eric.y.miao@gmail.com>
Thu, 6 May 2010 03:12:11 +0000 (11:12 +0800)
commit6ae87fe219ce32ea226254ee72e1d38ad35d9deb
treeb18fe5df3016e0fb54ac52731e65a6b26b4965e9
parent299ed07868e2384dd3bff44e30892cfdadd7e1bc
[ARM] pxa/viper: fix timeout usage for I2C

The timeout value is in jiffies, so it should be using HZ, not a plain
number. Assume with HZ=100 '100' means 1s here and adapt accordingly.

Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
Acked-by: Marc Zyngier <maz@misterjones.org>
Cc: Russell King <linux@arm.linux.org.uk>
Cc: Paul Shen <paul.shen@marvell.com>
Cc: Mike Rapoport <mike@compulab.co.il>
Cc: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
arch/arm/mach-pxa/viper.c