Commit b31e4688 authored by Matt Wagantall's avatar Matt Wagantall Committed by Linux Build Service Account
Browse files

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: default avatarMatt Wagantall <mattw@codeaurora.org>
parent 0c2be21e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment