Skip to content

Commit

Permalink
[ARM] 4763/1: pxa: fix pxa3xx_get_clk_frequency_khz() to return KHz
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
eric miao authored and Russell King committed Jan 28, 2008
1 parent 9152530 commit 6232be3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/arm/mach-pxa/pxa3xx.c
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ unsigned int pxa3xx_get_clk_frequency_khz(int info)
HSS / 1000000, (HSS % 1000000) / 10000);
}

return CLK;
return CLK / 1000;
}

/*
Expand Down

0 comments on commit 6232be3

Please sign in to comment.