projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9152530
)
[ARM] 4763/1: pxa: fix pxa3xx_get_clk_frequency_khz() to return KHz
author
eric miao
<eric.y.miao@gmail.com>
Thu, 24 Jan 2008 01:27:30 +0000
(
02:27
+0100)
committer
Russell King
<rmk+kernel@arm.linux.org.uk>
Mon, 28 Jan 2008 10:14:53 +0000
(10:14 +0000)
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>
arch/arm/mach-pxa/pxa3xx.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/arm/mach-pxa/pxa3xx.c
b/arch/arm/mach-pxa/pxa3xx.c
index 61d9c9d69e6b54c17d49067a3f3822e161c33d09..37e93f9ba8fc6d86976fc40387c2016b2aa8770d 100644
(file)
--- 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
;
}
/*