aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/omap2/dss/dispc.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/video/omap2/dss/dispc.c')
-rw-r--r--drivers/video/omap2/dss/dispc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/video/omap2/dss/dispc.c b/drivers/video/omap2/dss/dispc.c
index 0f84034928a..4d684282b20 100644
--- a/drivers/video/omap2/dss/dispc.c
+++ b/drivers/video/omap2/dss/dispc.c
@@ -3201,7 +3201,8 @@ static void dispc_error_worker(struct work_struct *work)
3201 for (i = 0; i < omap_dss_get_num_overlay_managers(); ++i) { 3201 for (i = 0; i < omap_dss_get_num_overlay_managers(); ++i) {
3202 struct omap_overlay_manager *mgr; 3202 struct omap_overlay_manager *mgr;
3203 mgr = omap_dss_get_overlay_manager(i); 3203 mgr = omap_dss_get_overlay_manager(i);
3204 mgr->device->driver->disable(mgr->device); 3204 if (mgr->device && mgr->device->driver)
3205 mgr->device->driver->disable(mgr->device);
3205 } 3206 }
3206 } 3207 }
3207 3208