OMAPDSS: DISPC: add new clock calculation code
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Tue, 5 Mar 2013 14:32:08 +0000 (16:32 +0200)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Wed, 3 Apr 2013 12:19:17 +0000 (15:19 +0300)
commit7c284e6ee3710e96bf246e6b52032f3d766fa094
treea713a5d43b0920912a66d666dd8e786704513a6a
parent4ce9e33c0f6abc4203f25f5fc287bf072de32513
OMAPDSS: DISPC: add new clock calculation code

Add new way to iterate over DISPC clock divisors. dispc_div_calc()
provides a generic way to go over all the divisors, within given pixel
clock range. dispc_div_calc() will call a callback function for each
divider set, making the function reusable for all use cases.

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