From: Ben Skeggs Date: Tue, 5 Mar 2013 12:26:06 +0000 (+1000) Subject: drm/nv50: encoder creation failure doesn't mean full init failure X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=94f54f5336aac6801f2a14dcb12467e41b35456a;p=linux-beck.git drm/nv50: encoder creation failure doesn't mean full init failure It's meant as a notification only, not a fatal error. Signed-off-by: Ben Skeggs --- diff --git a/drivers/gpu/drm/nouveau/nv50_display.c b/drivers/gpu/drm/nouveau/nv50_display.c index 87a5a56ed358..2db57990f65c 100644 --- a/drivers/gpu/drm/nouveau/nv50_display.c +++ b/drivers/gpu/drm/nouveau/nv50_display.c @@ -2276,6 +2276,7 @@ nv50_display_create(struct drm_device *dev) NV_WARN(drm, "failed to create encoder %d/%d/%d: %d\n", dcbe->location, dcbe->type, ffs(dcbe->or) - 1, ret); + ret = 0; } }