Skip to content

Commit

Permalink
drm/mediatek: 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.

v2:
	* fix subject line

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
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-6-tzimmermann@suse.de
  • Loading branch information
Thomas Zimmermann committed Apr 8, 2020
1 parent 38d356c commit c05ca21
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions drivers/gpu/drm/mediatek/mtk_drm_drv.c
Original file line number Diff line number Diff line change
Expand Up @@ -347,9 +347,7 @@ static int mtk_drm_bind(struct device *dev)
if (ret < 0)
goto err_deinit;

ret = drm_fbdev_generic_setup(drm, 32);
if (ret)
DRM_ERROR("Failed to initialize fbdev: %d\n", ret);
drm_fbdev_generic_setup(drm, 32);

return 0;

Expand Down

0 comments on commit c05ca21

Please sign in to comment.