diff options
author | Mark Brown <broonie@kernel.org> | 2018-07-05 11:05:40 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2018-07-05 11:05:40 +0100 |
commit | 7a3f6e8d2096d244ad7080673497d43f15e08bdb (patch) | |
tree | 822a121579242ba5e474e88c8146d07223f9c4c2 /drivers/cpufreq | |
parent | 68921fb4be8e567565aa704350e858db1c470eff (diff) | |
parent | e96c5550070c189a8ccb26dc6eae76ee8eef833d (diff) |
Merge branch 'linux-linaro-lsk-v4.4' into linux-linaro-lsk-v4.4-android
Diffstat (limited to 'drivers/cpufreq')
-rw-r--r-- | drivers/cpufreq/cpufreq.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/cpufreq/cpufreq.c b/drivers/cpufreq/cpufreq.c index 5dfea63204ca..fc0d9f90ad8d 100644 --- a/drivers/cpufreq/cpufreq.c +++ b/drivers/cpufreq/cpufreq.c @@ -699,6 +699,8 @@ static ssize_t store_##file_name \ struct cpufreq_policy new_policy; \ \ memcpy(&new_policy, policy, sizeof(*policy)); \ + new_policy.min = policy->user_policy.min; \ + new_policy.max = policy->user_policy.max; \ \ ret = sscanf(buf, "%u", &new_policy.object); \ if (ret != 1) \ |