OSDN Git Service

OMAPDSS: DISPC: pass pclk to calc_core_clk()
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Fri, 19 Oct 2012 12:36:11 +0000 (15:36 +0300)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Tue, 27 Nov 2012 10:27:02 +0000 (12:27 +0200)
commit8702ee50645ea2046bf91838bc615dffc8644fba
tree893e91b4d4d3adac4f167ba7ee132ac42f200cf1
parent251886d8bc6f565c14acb34b12c007b994c2e56d
OMAPDSS: DISPC: pass pclk to calc_core_clk()

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 calc_core_clk() function to get pclk as a parameter.

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