diff options
author | Antonino A. Daplas <adaplas@gmail.com> | 2005-11-07 04:00:50 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-11-07 10:53:52 -0500 |
commit | 5fab851ea15206cc375582ad0db79f7827325098 (patch) | |
tree | bc7e3dd1e15d147c1aa482df69f433ff37246641 /drivers/video/i810/i810_main.c | |
parent | 8a0934f2969df4cdea81cf48fde4c8626b32325d (diff) |
[PATCH] i810fb: Cleanup I2C code
- The functions for reading the 1st and 2nd bus are essentially the same,
except for the register. Consolidate them all.
- According to Nicolas Boichat, there is an undocumented 3rd i2c bus for
attaching daughter cards. Add support for this.
Signed-off-by: Antonino Daplas <adaplas@pol.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/video/i810/i810_main.c')
-rw-r--r-- | drivers/video/i810/i810_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/i810/i810_main.c b/drivers/video/i810/i810_main.c index 0dbc9ddb6766..4175b2d8513c 100644 --- a/drivers/video/i810/i810_main.c +++ b/drivers/video/i810/i810_main.c | |||
@@ -1854,7 +1854,7 @@ static void __devinit i810fb_find_init_mode(struct fb_info *info) | |||
1854 | #ifdef CONFIG_FB_I810_I2C | 1854 | #ifdef CONFIG_FB_I810_I2C |
1855 | i810_create_i2c_busses(par); | 1855 | i810_create_i2c_busses(par); |
1856 | 1856 | ||
1857 | for (i = 0; i < 3; i++) { | 1857 | for (i = 0; i < 4; i++) { |
1858 | err = i810_probe_i2c_connector(info, &par->edid, i+1); | 1858 | err = i810_probe_i2c_connector(info, &par->edid, i+1); |
1859 | if (!err) | 1859 | if (!err) |
1860 | break; | 1860 | break; |