Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 306556
b: refs/heads/master
c: 6f36799
h: refs/heads/master
v: v3
  • Loading branch information
Sakari Ailus authored and Mauro Carvalho Chehab committed May 20, 2012
1 parent 283b661 commit a10f430
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 98add8e80764f49219de354a867f4cf8ade94ba8
refs/heads/master: 6f367993988720c86e863bb64db8a62a002d6d9d
5 changes: 3 additions & 2 deletions trunk/drivers/media/video/smiapp-pll.c
Original file line number Diff line number Diff line change
Expand Up @@ -124,8 +124,9 @@ int smiapp_pll_calculate(struct device *dev, struct smiapp_pll_limits *limits,
limits->min_pll_ip_freq_hz));
limits->min_pre_pll_clk_div =
max_t(uint16_t, limits->min_pre_pll_clk_div,
clk_div_even(pll->ext_clk_freq_hz /
limits->max_pll_ip_freq_hz));
clk_div_even_up(
DIV_ROUND_UP(pll->ext_clk_freq_hz,
limits->max_pll_ip_freq_hz)));
dev_dbg(dev, "pre-pll check: min / max pre_pll_clk_div: %d / %d\n",
limits->min_pre_pll_clk_div, limits->max_pre_pll_clk_div);

Expand Down

0 comments on commit a10f430

Please sign in to comment.