diff options
author | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2013-10-31 15:41:57 +0100 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2013-11-18 13:32:28 +0100 |
commit | 688af02d22c11a077532d6437e4afc7bdc972f82 (patch) | |
tree | d241479783178b85d67abb350ba053a99355115a /drivers/video/omap2/dss/dss.c | |
parent | OMAPDSS: cleanup fck parent handling (diff) | |
download | linux-688af02d22c11a077532d6437e4afc7bdc972f82.tar.xz linux-688af02d22c11a077532d6437e4afc7bdc972f82.zip |
OMAPDSS: pass pck to dss fck clock calc
We need the required pixel clock rate when calculating the dss fclk on
SoCs that have a dedicated DSS PLL.
This patch changes the code to pass the pck to the calc functions. The
pck rate is taken into use in the next patch.
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'drivers/video/omap2/dss/dss.c')
-rw-r--r-- | drivers/video/omap2/dss/dss.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/video/omap2/dss/dss.c b/drivers/video/omap2/dss/dss.c index 7af97199c905..08c58ebe219c 100644 --- a/drivers/video/omap2/dss/dss.c +++ b/drivers/video/omap2/dss/dss.c @@ -436,7 +436,8 @@ enum omap_dss_clk_source dss_get_lcd_clk_source(enum omap_channel channel) } } -bool dss_div_calc(unsigned long fck_min, dss_div_calc_func func, void *data) +bool dss_div_calc(unsigned long pck, unsigned long fck_min, + dss_div_calc_func func, void *data) { int fckd, fckd_start, fckd_stop; unsigned long fck; |