Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 124438
b: refs/heads/master
c: cfbd307
h: refs/heads/master
v: v3
  • Loading branch information
Hans Verkuil authored and Mauro Carvalho Chehab committed Dec 30, 2008
1 parent 3bead81 commit 567e9af
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 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: 77587c5627aab50636ea0f93c28d2013cd0b7004
refs/heads/master: cfbd3072890e119639b97a133d84c13d25bba034
8 changes: 4 additions & 4 deletions trunk/drivers/media/dvb/frontends/cx24113.c
Original file line number Diff line number Diff line change
Expand Up @@ -345,12 +345,12 @@ static void cx24113_calc_pll_nf(struct cx24113_state *state, u16 *n, s32 *f)
}
F = freq_hz;
F *= (u64) (R * vcodiv * 262144);
dprintk("1 N: %d, F: %lld, R: %d\n", N, F, R);
dprintk("1 N: %d, F: %lld, R: %d\n", N, (long long)F, R);
do_div(F, state->config->xtal_khz*1000 * factor * 2);
dprintk("2 N: %d, F: %lld, R: %d\n", N, F, R);
dprintk("2 N: %d, F: %lld, R: %d\n", N, (long long)F, R);
F -= (N + 32) * 262144;

dprintk("3 N: %d, F: %lld, R: %d\n", N, F, R);
dprintk("3 N: %d, F: %lld, R: %d\n", N, (long long)F, R);

if (state->Fwindow_enabled) {
if (F > (262144 / 2 - 1638))
Expand All @@ -363,7 +363,7 @@ static void cx24113_calc_pll_nf(struct cx24113_state *state, u16 *n, s32 *f)
cx24113_writereg(state, 0x10, r | (1 << 6));
}
}
dprintk("4 N: %d, F: %lld, R: %d\n", N, F, R);
dprintk("4 N: %d, F: %lld, R: %d\n", N, (long long)F, R);

*n = (u16) N;
*f = (s32) F;
Expand Down

0 comments on commit 567e9af

Please sign in to comment.