From: Jean Delvare Date: Mon, 28 Apr 2008 09:15:16 +0000 (-0700) Subject: savagefb: speed up the I2C bus X-Git-Tag: MMI-PSA29.97-13-9~35281 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=9201a8584c9bdb45b7b32cb3d2280c3dfbc76e39;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git savagefb: speed up the I2C bus There is no reason to drive the savagefb I2C bus 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, and so are the legacy i2c-savage4 and i2c-prosavage drivers. Signed-off-by: Jean Delvare Cc: "Antonino A. Daplas" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/drivers/video/savage/savagefb-i2c.c b/drivers/video/savage/savagefb-i2c.c index 35c1ce62b216..783d4adffb93 100644 --- a/drivers/video/savage/savagefb-i2c.c +++ b/drivers/video/savage/savagefb-i2c.c @@ -140,7 +140,7 @@ static int savage_setup_i2c_bus(struct savagefb_i2c_chan *chan, chan->adapter.id = I2C_HW_B_SAVAGE; chan->adapter.algo_data = &chan->algo; chan->adapter.dev.parent = &chan->par->pcidev->dev; - chan->algo.udelay = 40; + chan->algo.udelay = 10; chan->algo.timeout = 20; chan->algo.data = chan;