aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorJean Delvare <khali@linux-fr.org>2008-04-28 05:15:16 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2008-04-28 11:58:38 -0400
commit9201a8584c9bdb45b7b32cb3d2280c3dfbc76e39 (patch)
treedbfa2443e1755d57e5fdb3cba55d68398bca2e1e /drivers
parenta1e68927c1d7030001590113181e0c8b6107649b (diff)
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 <khali@linux-fr.org> Cc: "Antonino A. Daplas" <adaplas@pol.net> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/video/savage/savagefb-i2c.c2
1 files changed, 1 insertions, 1 deletions
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,
140 chan->adapter.id = I2C_HW_B_SAVAGE; 140 chan->adapter.id = I2C_HW_B_SAVAGE;
141 chan->adapter.algo_data = &chan->algo; 141 chan->adapter.algo_data = &chan->algo;
142 chan->adapter.dev.parent = &chan->par->pcidev->dev; 142 chan->adapter.dev.parent = &chan->par->pcidev->dev;
143 chan->algo.udelay = 40; 143 chan->algo.udelay = 10;
144 chan->algo.timeout = 20; 144 chan->algo.timeout = 20;
145 chan->algo.data = chan; 145 chan->algo.data = chan;
146 146