commit | 6232be32afa121628c72291ce7eaa24a639905c2 | [log] [tgz] |
---|---|---|
author | eric miao <eric.y.miao@gmail.com> | Thu Jan 24 02:27:30 2008 +0100 |
committer | Russell King <rmk+kernel@arm.linux.org.uk> | Mon Jan 28 10:14:53 2008 +0000 |
tree | 2e394a151d0c1d6904f60f462186a6ff7fad9b7c | |
parent | 91525300baf162e83e923b09ca286f9205e21522 [diff] [blame] |
[ARM] 4763/1: pxa: fix pxa3xx_get_clk_frequency_khz() to return KHz The original code incorrectly returns Hz instead of KHz. Signed-off-by: eric miao <eric.miao@marvell.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
diff --git a/arch/arm/mach-pxa/pxa3xx.c b/arch/arm/mach-pxa/pxa3xx.c index 61d9c9d..37e93f9 100644 --- a/arch/arm/mach-pxa/pxa3xx.c +++ b/arch/arm/mach-pxa/pxa3xx.c
@@ -86,7 +86,7 @@ HSS / 1000000, (HSS % 1000000) / 10000); } - return CLK; + return CLK / 1000; } /*