viafb: another workaround for OLPCs weird wiring

On OLPC we must not touch this I2C bus or it will hang.
Signed-off-by: default avatarFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>
parent c572c8bb
...@@ -1752,8 +1752,10 @@ static void __devinit i2c_bus_probe(struct viafb_shared *shared) ...@@ -1752,8 +1752,10 @@ static void __devinit i2c_bus_probe(struct viafb_shared *shared)
shared->i2c_31 = via_aux_probe(viafb_find_i2c_adapter(VIA_PORT_31)); shared->i2c_31 = via_aux_probe(viafb_find_i2c_adapter(VIA_PORT_31));
/* FIXME: what is this? */ /* FIXME: what is this? */
printk(KERN_INFO "viafb: Probing I2C bus 0x2C\n"); if (!machine_is_olpc()) {
shared->i2c_2C = via_aux_probe(viafb_find_i2c_adapter(VIA_PORT_2C)); printk(KERN_INFO "viafb: Probing I2C bus 0x2C\n");
shared->i2c_2C = via_aux_probe(viafb_find_i2c_adapter(VIA_PORT_2C));
}
printk(KERN_INFO "viafb: Finished I2C bus probing"); printk(KERN_INFO "viafb: Finished I2C bus probing");
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment