Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 285667
b: refs/heads/master
c: 3308e2b
h: refs/heads/master
i:
  285665: 7bfaae3
  285663: 6d5abc6
v: v3
  • Loading branch information
Mauro Carvalho Chehab committed Jan 5, 2012
1 parent 5c11a2b commit 4d13c4f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 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: 51ada787b89828314f09cb6b2f401c209db88917
refs/heads/master: 3308e2b53a6737d28782c89e6d2dd80237fde3e3
3 changes: 2 additions & 1 deletion trunk/drivers/media/video/cx25840/cx25840-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
#include <linux/videodev2.h>
#include <linux/i2c.h>
#include <linux/delay.h>
#include <linux/math64.h>
#include <media/v4l2-common.h>
#include <media/v4l2-chip-ident.h>
#include <media/cx25840.h>
Expand Down Expand Up @@ -2022,7 +2023,7 @@ void cx23885_dif_setup(struct i2c_client *client, u32 ifHz)

/* Assuming TV */
/* Calculate the PLL frequency word based on the adjusted ifHz */
pll_freq = ((u64)ifHz * 268435456) / 50000000;
pll_freq = div_u64((u64)ifHz * 268435456, 50000000);
pll_freq_word = (u32)pll_freq;

cx25840_write4(client, DIF_PLL_FREQ_WORD, pll_freq_word);
Expand Down

0 comments on commit 4d13c4f

Please sign in to comment.