drm/fb-helper: Improve error reporting in setup
authorNoralf Trønnes <noralf@tronnes.org>
Sat, 8 Sep 2018 13:46:29 +0000 (15:46 +0200)
committerNoralf Trønnes <noralf@tronnes.org>
Tue, 25 Sep 2018 09:28:44 +0000 (11:28 +0200)
commit6129369a96183f28c7912dfd37cb5869433aa904
tree5550a6213c9c1bfb36a99ed572d000e611d02d6b
parent12fec62aea6ea67512f0ddabf960c9270b6d1b05
drm/fb-helper: Improve error reporting in setup

Improve error reporting in drm_fb_helper_fbdev_setup() by printing the
error code. This is useful for drivers that choose to not fall over just
because fbdev doesen't work, but still wants clues to why it failed.
This way they don't have to provide an error message themselves.

Signed-off-by: Noralf Trønnes <noralf@tronnes.org>
Acked-by: Sam Ravnborg <sam@ravnborg.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20180908134648.2582-2-noralf@tronnes.org
drivers/gpu/drm/drm_fb_helper.c