Patch "cpufreq: dt: Tolerance applies on both sides of target voltage" has been added to the 4.2-stable tree
Subsystems (2)
This is a note to let you know that I've just added the patch titled
cpufreq: dt: Tolerance applies on both sides of target voltage
to the 4.2-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
cpufreq-dt-tolerance-applies-on-both-sides-of-target-voltage.patch
and it can be found in the queue-4.2 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.
Quoted 1 line
From
a2022001cebd0825b96aa0f3345ea3ad44ae79d4Mon Sep 17 00:00:00 2001
From: Viresh Kumar <[email protected]>
Date: Wed, 2 Sep 2015 14:36:50 +0530
Subject: cpufreq: dt: Tolerance applies on both sides of target voltage
From: Viresh Kumar <[email protected]>
commit a2022001cebd0825b96aa0f3345ea3ad44ae79d4 upstream.
Tolerance applies on both sides of the target voltage, i.e. both min and max sides. But while checking if a voltage is supported by the regulator or not, we haven't taken care of tolerance on the lower side. Fix that.
--- drivers/cpufreq/cpufreq-dt.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/cpufreq/cpufreq-dt.c +2 -1
@@ -255,7 +255,8 @@ static int cpufreq_init(struct cpufreq_prcu_read_unlock (); tol_uV = opp_uV * priv->voltage_tolerance /100 ; -if (regulator_is_supported_voltage (cpu_reg, opp_uV, +if (regulator_is_supported_voltage (cpu_reg, + opp_uV - tol_uV, opp_uV + tol_uV)) {if (opp_uV < min_uV) min_uV = opp_uV;
Patches currently in stable-queue which might be from [email protected] are
queue-4.2/cpufreq-dt-tolerance-applies-on-both-sides-of-target-voltage.patch queue-4.2/x86-kexec-fix-kexec-crash-in-syscall-kexec_file_load.patch