]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/sh/boards/board-sh7785lcr.c
i2c-algo-pca: Rework waiting for a free bus
[linux-2.6-omap-h63xx.git] / arch / sh / boards / board-sh7785lcr.c
index 94c0296bc35df2663cbff4398d3b1ab868b1ac72..6f94f17adc467dd00d13aaa20ef5891b2ee064ed 100644 (file)
@@ -229,7 +229,7 @@ static struct resource i2c_resources[] = {
 static struct i2c_pca9564_pf_platform_data i2c_platform_data = {
        .gpio                   = 0,
        .i2c_clock_speed        = I2C_PCA_CON_330kHz,
-       .timeout                = 100,
+       .timeout                = HZ,
 };
 
 static struct platform_device i2c_device = {