OMAPDSS: DISPC: pass pclk & lclk to check_horiz_timing_omap3
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Fri, 19 Oct 2012 12:40:24 +0000 (15:40 +0300)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Tue, 27 Nov 2012 10:27:02 +0000 (12:27 +0200)
commit465ec13f600f1cba4def9540a450c9263c93cf8c
tree61d3f8f7d77a4ca3c6740a2d9a62a41217ce5bac
parent8702ee50645ea2046bf91838bc615dffc8644fba
OMAPDSS: DISPC: pass pclk & lclk to check_horiz_timing_omap3

In order to make the scaling calculations independent of the current
hardware configuration (e.g. which manager is connected to this output),
we need to change the calc funcs to get all the variables needed for the
calculations via parameters.

This patch changes check_horiz_timing_omap3() to get pclk and lclk as
parameters.

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