projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
18135ea
)
OMAPDSS: APPLY: skip isr register and config for disabled displays
author
Tomi Valkeinen
<tomi.valkeinen@ti.com>
Mon, 7 Nov 2011 13:04:01 +0000
(15:04 +0200)
committer
Tomi Valkeinen
<tomi.valkeinen@ti.com>
Fri, 2 Dec 2011 06:54:32 +0000
(08:54 +0200)
There's no need to register the vsync ISR and configure the hardware if
the overlay manager is disabled, so this patch adds a check for disabled
managers to the omap_dss_mgr_apply() function.
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/omap2/dss/apply.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/video/omap2/dss/apply.c
b/drivers/video/omap2/dss/apply.c
index 0da8081fc7c439b9309ff5f09bf5fb41031d300c..7919ff38474926fa6332bd5f6c52d2b0e8eaa3d3 100644
(file)
--- a/
drivers/video/omap2/dss/apply.c
+++ b/
drivers/video/omap2/dss/apply.c
@@
-629,7
+629,7
@@
int omap_dss_mgr_apply(struct omap_overlay_manager *mgr)
}
r = 0;
- if (!mgr_manual_update(mgr)) {
+ if (
mgr->enabled &&
!mgr_manual_update(mgr)) {
if (!dss_cache.irq_enabled) {
u32 mask;