Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 343881
b: refs/heads/master
c: c2ebca0
h: refs/heads/master
i:
  343879: e121b0f
v: v3
  • Loading branch information
Sakari Ailus authored and Mauro Carvalho Chehab committed Oct 29, 2012
1 parent 9ee9ab0 commit 2226dfd
Show file tree
Hide file tree
Showing 2 changed files with 3 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: b351f8663a3298103dbaef011a5068526ac556a9
refs/heads/master: c2ebca00324ce7b89f756d5e182a5b3db938a4c9
4 changes: 2 additions & 2 deletions trunk/drivers/media/i2c/smiapp-pll.c
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ int smiapp_pll_calculate(struct device *dev, struct smiapp_pll_limits *limits,
more_mul_max);
/* Don't go above max pll op frequency. */
more_mul_max =
min_t(int,
min_t(uint32_t,
more_mul_max,
limits->max_pll_op_freq_hz
/ (pll->ext_clk_freq_hz / pll->pre_pll_clk_div * mul));
Expand Down Expand Up @@ -322,7 +322,7 @@ int smiapp_pll_calculate(struct device *dev, struct smiapp_pll_limits *limits,
for (sys_div = min_sys_div;
sys_div <= max_sys_div;
sys_div += 2 - (sys_div & 1)) {
int pix_div = DIV_ROUND_UP(vt_div, sys_div);
uint16_t pix_div = DIV_ROUND_UP(vt_div, sys_div);

if (pix_div < limits->min_vt_pix_clk_div
|| pix_div > limits->max_vt_pix_clk_div) {
Expand Down

0 comments on commit 2226dfd

Please sign in to comment.