[Openchrome-devel] drm-openchrome: Branch 'drm-next-4.13' - drivers/gpu/drm

Kevin Brace kevinbrace at kemper.freedesktop.org
Sun Aug 13 07:43:45 UTC 2017


 drivers/gpu/drm/openchrome/via_display.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 1b8690158e43794dcd06ef07e5dcb420d4d316e7
Author: Kevin Brace <kevinbrace at gmx.com>
Date:   Sun Aug 13 00:42:14 2017 -0700

    Alter the error handling of via_fbdev_init()
    
    Signed-off-by: Kevin Brace <kevinbrace at gmx.com>

diff --git a/drivers/gpu/drm/openchrome/via_display.c b/drivers/gpu/drm/openchrome/via_display.c
index dc52b3195193..e22113436b0b 100644
--- a/drivers/gpu/drm/openchrome/via_display.c
+++ b/drivers/gpu/drm/openchrome/via_display.c
@@ -539,7 +539,7 @@ via_modeset_init(struct drm_device *dev)
 
 	/* Set up the framebuffer device */
 	ret = via_fbdev_init(dev, &dev_priv->helper);
-	if (!ret) {
+	if (ret) {
 		goto exit;
 	}
 


More information about the Openchrome-devel mailing list