Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 76586
b: refs/heads/master
c: 18ff605
h: refs/heads/master
v: v3
  • Loading branch information
Andrew Morton authored and Mauro Carvalho Chehab committed Jan 25, 2008
1 parent c261ef2 commit 276d0a5
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: 6594ad829a98d5a9fe720d8d182a4e50fc81953a
refs/heads/master: 18ff605a18b29ab1b52d31f96e2ecbaf7a042a3e
3 changes: 2 additions & 1 deletion trunk/drivers/media/dvb/frontends/zl10353.c
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,8 @@ static void zl10353_calc_nominal_rate(struct dvb_frontend *fe,
break;
}

value = (bw * (u64)10 * (1 << 23) / 7 * 125 + adc_clock / 2);
value = (u64)10 * (1 << 23) / 7 * 125;
value = (bw * value) + adc_clock / 2;
do_div(value, adc_clock);
*nominal_rate = value;

Expand Down

0 comments on commit 276d0a5

Please sign in to comment.