radeon: fix LVDS modes problem
authorDave Airlie <airlied@redhat.com>
Thu, 14 Aug 2008 23:42:06 +0000 (09:42 +1000)
committerDave Airlie <airlied@redhat.com>
Thu, 14 Aug 2008 23:42:06 +0000 (09:42 +1000)
linux-core/radeon_connectors.c

index 2cc0be0..32f969a 100644 (file)
@@ -43,7 +43,7 @@ static int radeon_lvds_get_modes(struct drm_connector *connector)
                drm_mode_connector_update_edid_property(&radeon_connector->base, edid);
                ret = drm_add_edid_modes(&radeon_connector->base, edid);
                kfree(edid);
-               return 0;
+               return ret;
        }
 
 #if 0