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>
1 file changed