commit | f492b81777c93b33afe892b424e022022b5bc297 | [log] [tgz] |
---|---|---|
author | Simon Horman <horms+renesas@verge.net.au> | Tue May 13 15:59:18 2014 +0900 |
committer | Simon Horman <horms+renesas@verge.net.au> | Wed May 14 14:02:21 2014 +0900 |
tree | 1e7596767eddec8b733f4002233dfc3f01be92cb | |
parent | 34b9fa401eeef4e388bb7563110733c73c452c80 [diff] |
ARM: shmobile: Set clock frequency in HZ from OF nodes shmobile_init_delay() looks for OF "clock-frequency" to determine the delay which is set by calling shmobile_setup_delay(). Unfortunately this seems to be incorrect in detail as "clock-frequency" node values are in HZ whereas the frequency argument to shmobile_setup_delay() is in MHz. Provide a variant of shmobile_setup_delay() that accepts HZ to correct this problem. Signed-off-by: Simon Horman <horms+renesas@verge.net.au>