diff options
Diffstat (limited to 'drivers/video/i810/i810-i2c.c')
-rw-r--r-- | drivers/video/i810/i810-i2c.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/video/i810/i810-i2c.c b/drivers/video/i810/i810-i2c.c index bd410e06db73..e3c8b5f1ca76 100644 --- a/drivers/video/i810/i810-i2c.c +++ b/drivers/video/i810/i810-i2c.c | |||
@@ -191,11 +191,11 @@ int i810_probe_i2c_connector(struct fb_info *info, u8 **out_edid, int conn) | |||
191 | u8 *edid = NULL; | 191 | u8 *edid = NULL; |
192 | int i; | 192 | int i; |
193 | 193 | ||
194 | DPRINTK("i810-i2c: Probe DDC%i Bus\n", conn); | 194 | DPRINTK("i810-i2c: Probe DDC%i Bus\n", conn+1); |
195 | if (conn < 4) { | 195 | if (conn < par->ddc_num) { |
196 | for (i = 0; i < 3; i++) { | 196 | for (i = 0; i < 3; i++) { |
197 | /* Do the real work */ | 197 | /* Do the real work */ |
198 | edid = i810_do_probe_i2c_edid(&par->chan[conn-1]); | 198 | edid = i810_do_probe_i2c_edid(&par->chan[conn]); |
199 | if (edid) | 199 | if (edid) |
200 | break; | 200 | break; |
201 | } | 201 | } |