diff options
author | eric miao <eric.y.miao@gmail.com> | 2008-01-24 04:27:30 +0300 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2008-01-28 13:14:53 +0300 |
commit | 6232be32afa121628c72291ce7eaa24a639905c2 (patch) | |
tree | 2e394a151d0c1d6904f60f462186a6ff7fad9b7c /arch/arm/mach-pxa/pxa3xx.c | |
parent | 91525300baf162e83e923b09ca286f9205e21522 (diff) | |
download | linux-6232be32afa121628c72291ce7eaa24a639905c2.tar.xz |
[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>
Diffstat (limited to 'arch/arm/mach-pxa/pxa3xx.c')
-rw-r--r-- | arch/arm/mach-pxa/pxa3xx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-pxa/pxa3xx.c b/arch/arm/mach-pxa/pxa3xx.c index 61d9c9d69e6b..37e93f9ba8fc 100644 --- a/arch/arm/mach-pxa/pxa3xx.c +++ b/arch/arm/mach-pxa/pxa3xx.c @@ -86,7 +86,7 @@ unsigned int pxa3xx_get_clk_frequency_khz(int info) HSS / 1000000, (HSS % 1000000) / 10000); } - return CLK; + return CLK / 1000; } /* |