Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit efdaadd6 authored by Andrew Bresticker's avatar Andrew Bresticker Committed by alexax66
Browse files

CHROMIUM: cpufreq: interactive: validate above_hispeed_delay



We rely on the frequencies in above_hispeed_delay being in ascending
order.  Ensure that is the case for the values the user gives us.

BUG=chrome-os-partner:20830
TEST=Boot Pit; write invalid above_hispeed_delay value:
localhost ~ # echo "20000 1800000:20000 700000:0" > above_hispeed_delay
-bash: echo: write error: Invalid argument

Change-Id: Ifb431e58ad4b6b371152d7b09fcbefa127b0cbe2
Signed-off-by: default avatarAndrew Bresticker <abrestic@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/65742


Reviewed-by: default avatarSonny Rao <sonnyrao@chromium.org>

Used commit: https://github.com/jjhitel/ASKernel/commit/8d5ee9b7734594310b5f355cb869fa859de7a402
parent 769f8eae
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment