Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 153822
b: refs/heads/master
c: 947391c
h: refs/heads/master
v: v3
  • Loading branch information
Ben Dooks committed Jun 8, 2009
1 parent 3919779 commit 2bb5f77
Show file tree
Hide file tree
Showing 2 changed files with 2 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: dea2aa6fd7d46c43c840ad77905f3c161d5bc59d
refs/heads/master: 947391cfbaa3b08558844c0b187bcd0223c3f660
3 changes: 1 addition & 2 deletions trunk/drivers/mtd/nand/s3c2410.c
Original file line number Diff line number Diff line change
Expand Up @@ -180,8 +180,7 @@ static int s3c_nand_calc_rate(int wanted, unsigned long clk, int max)
{
int result;

result = (wanted * clk) / NS_IN_KHZ;
result++;
result = DIV_ROUND_UP((wanted * clk), NS_IN_KHZ);

pr_debug("result %d from %ld, %d\n", result, clk, wanted);

Expand Down

0 comments on commit 2bb5f77

Please sign in to comment.