fb: for framebuffer handover don't exit the loop early.
authorDave Airlie <airlied@redhat.com>
Thu, 25 Feb 2010 04:05:09 +0000 (14:05 +1000)
committerDave Airlie <airlied@redhat.com>
Thu, 25 Feb 2010 04:15:12 +0000 (14:15 +1000)
An offb machine has been seen in the fields which adds two
offb nodes, so continue scanning the list after removing one.

Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/video/fbmem.c

index 99bbd282ce634186e5d28f9a13cd9ba78658ddc2..a15b44e9c003c656aa030c8242f9c2be3cf4a611 100644 (file)
@@ -1513,7 +1513,6 @@ register_framebuffer(struct fb_info *fb_info)
                                       fb_info->fix.id,
                                       registered_fb[i]->fix.id);
                                unregister_framebuffer(registered_fb[i]);
-                               break;
                        }
                }
        }