Skip to content

Commit

Permalink
drm/ingenic: Remove error check from fbdev setup
Browse files Browse the repository at this point in the history
Remove the error check from the fbdev setup function. The function
will print a warning.

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Paul Cercueil <paul@crapouillou.net>
Reviewed-by: Noralf Trønnes <noralf@tronnes.org>
Acked-by: Sam Ravnborg <sam@ravnborg.org>
Acked-by: Gerd Hoffmann <kraxel@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200408082641.590-5-tzimmermann@suse.de
  • Loading branch information
Thomas Zimmermann committed Apr 8, 2020
1 parent e883a82 commit 38d356c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions drivers/gpu/drm/ingenic/ingenic-drm.c
Original file line number Diff line number Diff line change
Expand Up @@ -781,9 +781,7 @@ static int ingenic_drm_probe(struct platform_device *pdev)
goto err_devclk_disable;
}

ret = drm_fbdev_generic_setup(drm, 32);
if (ret)
dev_warn(dev, "Unable to start fbdev emulation: %i", ret);
drm_fbdev_generic_setup(drm, 32);

return 0;

Expand Down

0 comments on commit 38d356c

Please sign in to comment.