]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/i2c/algos/i2c-algo-pcf.c
i2c: Set a default timeout value for all adapters
[linux-2.6-omap-h63xx.git] / drivers / i2c / algos / i2c-algo-pcf.c
index 65a769f3ae7985020b813afb643a8f2eba056d9a..7ce75775ec73d3ccd68b988ae791a7e8bf89c436 100644 (file)
@@ -61,7 +61,7 @@ static int i2c_debug;
 
 static void i2c_start(struct i2c_algo_pcf_data *adap)
 {
-       DEBPROTO(printk("S "));
+       DEBPROTO(printk(KERN_DEBUG "S "));
        set_pcf(adap, 1, I2C_PCF_START);
 }
 
@@ -423,7 +423,6 @@ int i2c_pcf_add_bus(struct i2c_adapter *adap)
 
        /* register new adapter to i2c module... */
        adap->algo = &pcf_algo;
-       adap->timeout = 100;
 
        if ((rval = pcf_init_8584(pcf_adap)))
                return rval;