From: Jean Delvare Date: Mon, 28 Apr 2008 09:15:14 +0000 (-0700) Subject: radeonfb: speed up the I2C buses X-Git-Tag: MMI-PSA29.97-13-9~35284 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=e0745ae7210c14e611a1fab2af820a4c2e447de5;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git radeonfb: speed up the I2C buses There is no reason to drive the radeon I2C buses at such a low speed, so bump it from 12.5 kbps to 50 kbps. The Intel (i810) and Matrox framebuffer drivers already run their I2C bus at this speed. Signed-off-by: Jean Delvare Acked-by: Benjamin Herrenschmidt Cc: "Antonino A. Daplas" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/drivers/video/aty/radeon_i2c.c b/drivers/video/aty/radeon_i2c.c index b8e21da8f8ce..f9e7c29ad9bf 100644 --- a/drivers/video/aty/radeon_i2c.c +++ b/drivers/video/aty/radeon_i2c.c @@ -78,7 +78,7 @@ static int radeon_setup_i2c_bus(struct radeon_i2c_chan *chan, const char *name) chan->algo.setscl = radeon_gpio_setscl; chan->algo.getsda = radeon_gpio_getsda; chan->algo.getscl = radeon_gpio_getscl; - chan->algo.udelay = 40; + chan->algo.udelay = 10; chan->algo.timeout = 20; chan->algo.data = chan;