Commit:     5b358fe12f03a7822db6f376b608f996c664a952
Parent:     1e73db2536695ef95458b0043234456eb42a8962
Author:     Jean Delvare <[EMAIL PROTECTED]>
AuthorDate: Tue May 8 00:38:18 2007 -0700
Committer:  Linus Torvalds <[EMAIL PROTECTED]>
CommitDate: Tue May 8 11:15:28 2007 -0700

    rivafb: handle I2C bus creation failure
    I2C bus creation may fail, let rivafb handle that case properly.
    Signed-off-by: Jean Delvare <[EMAIL PROTECTED]>
    Signed-off-by: Antonino Daplas <[EMAIL PROTECTED]>
    Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
    Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]>
 drivers/video/riva/fbdev.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/drivers/video/riva/fbdev.c b/drivers/video/riva/fbdev.c
index a37189a..b8d50f1 100644
--- a/drivers/video/riva/fbdev.c
+++ b/drivers/video/riva/fbdev.c
@@ -1789,6 +1789,8 @@ static int __devinit riva_get_EDID_i2c(struct fb_info 
        for (i = 0; i < par->bus; i++) {
+               if (!par->chan[i].par)
+                       continue;
                riva_probe_i2c_connector(par, i+1, &par->EDID);
                if (par->EDID && !fb_parse_edid(par->EDID, &var)) {
                        printk(PFX "Found EDID Block from BUS %i\n", i);
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to