diff options
author | Hans Verkuil <hverkuil@xs4all.nl> | 2008-12-19 05:36:46 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2008-12-30 06:39:25 -0500 |
commit | cfbd3072890e119639b97a133d84c13d25bba034 (patch) | |
tree | 7a98b90131143c6e6bde541ca680af9b82eed243 /drivers/media/dvb/frontends/cx24113.c | |
parent | 77587c5627aab50636ea0f93c28d2013cd0b7004 (diff) |
V4L/DVB (9941): cx24113: fix compile warnings
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/dvb/frontends/cx24113.c')
-rw-r--r-- | drivers/media/dvb/frontends/cx24113.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/media/dvb/frontends/cx24113.c b/drivers/media/dvb/frontends/cx24113.c index 93f35941a620..f6e7b0380a5a 100644 --- a/drivers/media/dvb/frontends/cx24113.c +++ b/drivers/media/dvb/frontends/cx24113.c | |||
@@ -345,12 +345,12 @@ static void cx24113_calc_pll_nf(struct cx24113_state *state, u16 *n, s32 *f) | |||
345 | } | 345 | } |
346 | F = freq_hz; | 346 | F = freq_hz; |
347 | F *= (u64) (R * vcodiv * 262144); | 347 | F *= (u64) (R * vcodiv * 262144); |
348 | dprintk("1 N: %d, F: %lld, R: %d\n", N, F, R); | 348 | dprintk("1 N: %d, F: %lld, R: %d\n", N, (long long)F, R); |
349 | do_div(F, state->config->xtal_khz*1000 * factor * 2); | 349 | do_div(F, state->config->xtal_khz*1000 * factor * 2); |
350 | dprintk("2 N: %d, F: %lld, R: %d\n", N, F, R); | 350 | dprintk("2 N: %d, F: %lld, R: %d\n", N, (long long)F, R); |
351 | F -= (N + 32) * 262144; | 351 | F -= (N + 32) * 262144; |
352 | 352 | ||
353 | dprintk("3 N: %d, F: %lld, R: %d\n", N, F, R); | 353 | dprintk("3 N: %d, F: %lld, R: %d\n", N, (long long)F, R); |
354 | 354 | ||
355 | if (state->Fwindow_enabled) { | 355 | if (state->Fwindow_enabled) { |
356 | if (F > (262144 / 2 - 1638)) | 356 | if (F > (262144 / 2 - 1638)) |
@@ -363,7 +363,7 @@ static void cx24113_calc_pll_nf(struct cx24113_state *state, u16 *n, s32 *f) | |||
363 | cx24113_writereg(state, 0x10, r | (1 << 6)); | 363 | cx24113_writereg(state, 0x10, r | (1 << 6)); |
364 | } | 364 | } |
365 | } | 365 | } |
366 | dprintk("4 N: %d, F: %lld, R: %d\n", N, F, R); | 366 | dprintk("4 N: %d, F: %lld, R: %d\n", N, (long long)F, R); |
367 | 367 | ||
368 | *n = (u16) N; | 368 | *n = (u16) N; |
369 | *f = (s32) F; | 369 | *f = (s32) F; |