projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0cf35df
)
OMAP: DSS2: fix omap_dispc_register_isr() fail path
author
Tomi Valkeinen
<tomi.valkeinen@ti.com>
Fri, 4 Mar 2011 16:19:54 +0000
(18:19 +0200)
committer
Tomi Valkeinen
<tomi.valkeinen@ti.com>
Fri, 11 Mar 2011 13:46:30 +0000
(15:46 +0200)
Fix handling of error in omap_dispc_register_isr() in case there are no
free isr slots available.
Reported-by: Ben Tucker <btucker@mpcdata.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/omap2/dss/dispc.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/video/omap2/dss/dispc.c
b/drivers/video/omap2/dss/dispc.c
index dae9686fb437fb45de753e3b0fa5a446b6f022ad..4a368c47700e95265de17da50f0f7cd263112cc9 100644
(file)
--- a/
drivers/video/omap2/dss/dispc.c
+++ b/
drivers/video/omap2/dss/dispc.c
@@
-2831,6
+2831,9
@@
int omap_dispc_register_isr(omap_dispc_isr_t isr, void *arg, u32 mask)
break;
}
+ if (ret)
+ goto err;
+
_omap_dispc_set_irqs();
spin_unlock_irqrestore(&dispc.irq_lock, flags);