mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 19:51:31 -04:00
pcmcia: sa11xx_base: fix reporting of timing information
Fix the reporting of the currently programmed timing information. These entries have been showing zero due to the clock rate being a factor of 1000 too big. With this change, we go from: I/O : 165 (0) attribute: 300 (0) common : 300 (0) to: I/O : 165 (172) attribute: 300 (316) common : 300 (316) Signed-off-by: Russell King <[email protected]>
This commit is contained in:
parent
ad8d52b897
commit
6dec04e8f3
1 changed files with 1 additions and 1 deletions
|
|
@ -144,7 +144,7 @@ static int
|
|||
sa1100_pcmcia_show_timing(struct soc_pcmcia_socket *skt, char *buf)
|
||||
{
|
||||
struct soc_pcmcia_timing timing;
|
||||
unsigned int clock = clk_get_rate(skt->clk);
|
||||
unsigned int clock = clk_get_rate(skt->clk) / 1000;
|
||||
unsigned long mecr = MECR;
|
||||
char *p = buf;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue