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

Skip to content
Commit 193a7cc9 authored by Park Ju Hyung's avatar Park Ju Hyung Committed by alexax66
Browse files

interactive: avoid calling usecs_to_jiffies() repeatedly



Calling usecs_to_jiffies() repeatedly can be avoided if we store
timer_rate and timer_slack in jiffies from the first place.

Convert 'usecs_to_jiffies' to nothing and
plain timer_* values to 'jiffies_to_usecs(timer_*)'.

Signed-off-by: default avatarPark Ju Hyung <qkrwngud825@gmail.com>

Based on commit: https://bitbucket.org/arter97/android_kernel_samsung_exynos7420/commits/3402ebd27c92900acfa06d06dfb1ac2d0483cb46

Conflicts:
	drivers/cpufreq/cpufreq_interactive.c
parent b9beb6e6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment