]> git.karo-electronics.de Git - linux-beck.git/commit
OMAPDSS: DISPC: clean up dispc_mgr_timings_ok
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Thu, 5 Jun 2014 08:36:08 +0000 (11:36 +0300)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Fri, 4 Jul 2014 08:17:57 +0000 (11:17 +0300)
commiteadd33bb95e0ab5e3f443bcd9ca45af4010110c8
treecc66041db434bd145a0b928f583a3344f9bac187
parentbeb8384d4a67179e8c207f00e9035ab121ed5940
OMAPDSS: DISPC: clean up dispc_mgr_timings_ok

dispc_mgr_timings_ok() is a bit confusing how it handles the return
value.

Change the function to just return immediately when a timing is deemed
not valid, making the code much easier to follow.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/fbdev/omap2/dss/dispc.c