Gitweb: http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=6232be32afa121628c72291ce7eaa24a639905c2 Commit: 6232be32afa121628c72291ce7eaa24a639905c2 Parent: 91525300baf162e83e923b09ca286f9205e21522 Author: eric miao <[EMAIL PROTECTED]> AuthorDate: Thu Jan 24 02:27:30 2008 +0100 Committer: Russell King <[EMAIL PROTECTED]> CommitDate: Mon Jan 28 10:14:53 2008 +0000
[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 <[EMAIL PROTECTED]> Signed-off-by: Russell King <[EMAIL PROTECTED]> --- 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 61d9c9d..37e93f9 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; } /* - To unsubscribe from this list: send the line "unsubscribe git-commits-head" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html