Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 306266
b: refs/heads/master
c: 31ed29f
h: refs/heads/master
v: v3
  • Loading branch information
Laurent Pinchart authored and Mauro Carvalho Chehab committed May 8, 2012
1 parent 6f43b6c commit 152cca8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 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: 433f75ab3d09a666c745d4163e21e811582d8eda
refs/heads/master: 31ed29f9812a9cb9a1c6d270ff4e19da60046da1
5 changes: 2 additions & 3 deletions trunk/drivers/media/video/aptina-pll.c
Original file line number Diff line number Diff line change
Expand Up @@ -148,9 +148,8 @@ int aptina_pll_calculate(struct device *dev,
unsigned int mf_high;
unsigned int mf_low;

mf_low = max(roundup(mf_min, mf_inc),
DIV_ROUND_UP(pll->ext_clock * p1,
limits->int_clock_max * div));
mf_low = roundup(max(mf_min, DIV_ROUND_UP(pll->ext_clock * p1,
limits->int_clock_max * div)), mf_inc);
mf_high = min(mf_max, pll->ext_clock * p1 /
(limits->int_clock_min * div));

Expand Down

0 comments on commit 152cca8

Please sign in to comment.