提交 6232be32 编写于 作者: E eric miao 提交者: Russell King

[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: Neric miao <eric.miao@marvell.com>
Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
上级 91525300
...@@ -86,7 +86,7 @@ unsigned int pxa3xx_get_clk_frequency_khz(int info) ...@@ -86,7 +86,7 @@ unsigned int pxa3xx_get_clk_frequency_khz(int info)
HSS / 1000000, (HSS % 1000000) / 10000); HSS / 1000000, (HSS % 1000000) / 10000);
} }
return CLK; return CLK / 1000;
} }
/* /*
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册