commit | b31e4688f0e1a164513f8b8f899180d424fa5b74 | [log] [tgz] |
---|---|---|
author | Matt Wagantall <mattw@codeaurora.org> | Wed Oct 12 12:50:27 2011 -0700 |
committer | Linux Build Service Account <lnxbuild@localhost> | Wed Oct 19 21:45:58 2011 -0600 |
tree | 8733de794c543887d39c148439d62a564eda941c | |
parent | 0c2be21e770edb8c59ffb78a694a67b2861bb4f0 [diff] |
msm: cpufreq: Improve initial frequency selection Instead of failing init when a supported scaling frequency >= the current CPU frequency cannot be found, also try looking for a supported frequency <= the current CPU rate. This prevents a crash if the CPU happens to be running faster than the highest scaling frequency at boot. Change-Id: I4109279055bfe72dfe35e43bb9a7bad46dd3048e Signed-off-by: Matt Wagantall <mattw@codeaurora.org>