Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 176870
b: refs/heads/master
c: 3ab1b9c
h: refs/heads/master
v: v3
  • Loading branch information
David Howells authored and Mauro Carvalho Chehab committed Dec 16, 2009
1 parent a0ac457 commit 0351ee1
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: 5bf583473813530c1bf82051a35fac8d5045f4f7
refs/heads/master: 3ab1b9cecdc6540a5b79500b1c10c4362a9cc5f1
4 changes: 2 additions & 2 deletions trunk/drivers/media/dvb/frontends/lgs8gxx.c
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ static int lgs8gxx_set_if_freq(struct lgs8gxx_state *priv, u32 freq /*in kHz*/)

val = freq;
if (freq != 0) {
val *= (u64)1 << 32;
val <<= 32;
if (if_clk != 0)
do_div(val, if_clk);
v32 = val & 0xFFFFFFFF;
Expand Down Expand Up @@ -246,7 +246,7 @@ static int lgs8gxx_get_afc_phase(struct lgs8gxx_state *priv)

val = v32;
val *= priv->config->if_clk_freq;
val /= (u64)1 << 32;
val >>= 32;
dprintk("AFC = %u kHz\n", (u32)val);
return 0;
}
Expand Down

0 comments on commit 0351ee1

Please sign in to comment.