diff options
author | Chander Kashyap <chander.kashyap@linaro.org> | 2014-04-22 18:08:04 +0530 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2014-05-01 01:17:03 +0200 |
commit | bed4d597a0f99b380d24ab3a9da47b62cbf1ad0e (patch) | |
tree | c8c0d87d29a6d2dc79fdc33431851e2e3405cc2e /firmware/ttusb-budget | |
parent | 3836785a1bdcd6706c68ad46bf53adc0b057b310 (diff) | |
download | talos-obmc-linux-bed4d597a0f99b380d24ab3a9da47b62cbf1ad0e.tar.gz talos-obmc-linux-bed4d597a0f99b380d24ab3a9da47b62cbf1ad0e.zip |
cpuidle / menu: move repeated correction factor check to init
In menu_select function we check for correction factor every time.
If it is zero we are initializing to unity. Hence move it to init function
and initialise by unity, hence avoid repeated comparisons.
Signed-off-by: Chander Kashyap <chander.kashyap@linaro.org>
Reviewed-by: Tuukka Tikkanen <tuukka.tikkanen@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'firmware/ttusb-budget')
0 files changed, 0 insertions, 0 deletions