diff options
author | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2012-08-10 07:17:47 -0400 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2012-10-18 06:11:10 -0400 |
commit | d7b6b6b1e7490beba3f4a30d8a6f22947c263ffe (patch) | |
tree | 2b280872d1114c11387484ee1bda88581d36e04d /drivers/video/omap2/dss/apply.c | |
parent | 78e7f256b207aba4bc0bcd9ba55e472dab87afc8 (diff) |
OMAPDSS: fix registering the vsync isr in apply
When we enable an output we don't check if we need to register the vsync
isr. This causes us to miss vsync interrupts until somebody changes the
configuration of an overlay or an overlay manager.
Add the registration to dss_mgr_enable to fix the problem.
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'drivers/video/omap2/dss/apply.c')
-rw-r--r-- | drivers/video/omap2/dss/apply.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/video/omap2/dss/apply.c b/drivers/video/omap2/dss/apply.c index e923d9f90ee6..e85ec05238ab 100644 --- a/drivers/video/omap2/dss/apply.c +++ b/drivers/video/omap2/dss/apply.c | |||
@@ -1035,6 +1035,9 @@ int dss_mgr_enable(struct omap_overlay_manager *mgr) | |||
1035 | if (!mgr_manual_update(mgr)) | 1035 | if (!mgr_manual_update(mgr)) |
1036 | mp->updating = true; | 1036 | mp->updating = true; |
1037 | 1037 | ||
1038 | if (!dss_data.irq_enabled && need_isr()) | ||
1039 | dss_register_vsync_isr(); | ||
1040 | |||
1038 | spin_unlock_irqrestore(&data_lock, flags); | 1041 | spin_unlock_irqrestore(&data_lock, flags); |
1039 | 1042 | ||
1040 | if (!mgr_manual_update(mgr)) | 1043 | if (!mgr_manual_update(mgr)) |