From cb04d5972dcd749c1b8ed99119c04a2e5bf8a997 Mon Sep 17 00:00:00 2001 From: Wolfram Sang Date: Sun, 18 Apr 2010 13:48:29 +0200 Subject: [PATCH] --- yaml --- r: 190649 b: refs/heads/master c: 6ae87fe219ce32ea226254ee72e1d38ad35d9deb h: refs/heads/master i: 190647: e6c7c6d9bcdfcea6fc834fb26ffa7853b6224b31 v: v3 --- [refs] | 2 +- trunk/arch/arm/mach-pxa/viper.c | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/[refs] b/[refs] index 1e854c47df0d..dc83f2fc4cda 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 299ed07868e2384dd3bff44e30892cfdadd7e1bc +refs/heads/master: 6ae87fe219ce32ea226254ee72e1d38ad35d9deb diff --git a/trunk/arch/arm/mach-pxa/viper.c b/trunk/arch/arm/mach-pxa/viper.c index 9e0c5c3988a1..e90114a7e246 100644 --- a/trunk/arch/arm/mach-pxa/viper.c +++ b/trunk/arch/arm/mach-pxa/viper.c @@ -34,6 +34,7 @@ #include #include #include +#include #include #include #include @@ -454,7 +455,7 @@ static struct i2c_gpio_platform_data i2c_bus_data = { .sda_pin = VIPER_RTC_I2C_SDA_GPIO, .scl_pin = VIPER_RTC_I2C_SCL_GPIO, .udelay = 10, - .timeout = 100, + .timeout = HZ, }; static struct platform_device i2c_bus_device = { @@ -779,7 +780,7 @@ static void __init viper_tpm_init(void) .sda_pin = VIPER_TPM_I2C_SDA_GPIO, .scl_pin = VIPER_TPM_I2C_SCL_GPIO, .udelay = 10, - .timeout = 100, + .timeout = HZ, }; char *errstr;