From 64227631831779355c7feffdeddf33a9a54876f4 Mon Sep 17 00:00:00 2001 From: Thomas Abraham Date: Tue, 8 Sep 2009 14:35:29 +0900 Subject: [PATCH] --- yaml --- r: 166134 b: refs/heads/master c: 5e49bc4d9e982bbfdaf7d6cf8bd96e43bd9f7db6 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/arch/arm/plat-s3c64xx/s3c6400-clock.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 36a34ff0e65e..ec4047394f1d 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 6d025ac2fcf9d736ee399efddae74a3362dfa7da +refs/heads/master: 5e49bc4d9e982bbfdaf7d6cf8bd96e43bd9f7db6 diff --git a/trunk/arch/arm/plat-s3c64xx/s3c6400-clock.c b/trunk/arch/arm/plat-s3c64xx/s3c6400-clock.c index 54eef9326c21..9745852261e0 100644 --- a/trunk/arch/arm/plat-s3c64xx/s3c6400-clock.c +++ b/trunk/arch/arm/plat-s3c64xx/s3c6400-clock.c @@ -345,7 +345,7 @@ static unsigned long s3c64xx_roundrate_clksrc(struct clk *clk, if (rate > parent_rate) rate = parent_rate; else { - div = rate / parent_rate; + div = parent_rate / rate; if (div == 0) div = 1;