]> asedeno.scripts.mit.edu Git - linux.git/commit
drm/omap: fix operation without fbdev
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Thu, 25 Sep 2014 19:24:26 +0000 (19:24 +0000)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Tue, 24 Mar 2015 11:50:54 +0000 (13:50 +0200)
commitc7c1aecd8e490c3818eaaea33e3c0d372931350a
tree12e2025df09c2e28fdef998ead56801543e5613f
parentf7c5f5d9e25dc524f1cdc6cf821400ac29dae486
drm/omap: fix operation without fbdev

omapdrm should work fine even if fbdev is missing. The current driver
crashes in that case, though, as it is missing checks for the fbdev.

Add the checks so that we don't free fbdev or restore fbdev mode when
there's no fbdev.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/gpu/drm/omapdrm/omap_drv.c