]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
cpufreq: Fix clamp_val() usage in cpufreq_driver_fast_switch()
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 1 Jun 2016 20:36:26 +0000 (22:36 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 1 Jun 2016 20:36:26 +0000 (22:36 +0200)
commitb9af694802b40d50852f1949ec94d4dcc43d7355
tree046db868a345cfe49746c516f16976da40b84dd2
parent6cacd115a8aafdc3f0f47c30af9d3a55a18074db
cpufreq: Fix clamp_val() usage in cpufreq_driver_fast_switch()

The return value of clamp_val() has to be stored actually.

Fixes: b7898fda5bc7 (cpufreq: Support for fast frequency switching)
Reported-by: Steve Muckle <steve.muckle@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
drivers/cpufreq/cpufreq.c