]> git.baikalelectronics.ru Git - kernel.git/commit
cpufreq: intel_pstate: Fix missing return statement
authorZhang Rui <rui.zhang@intel.com>
Mon, 28 Sep 2020 03:33:42 +0000 (11:33 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 30 Sep 2020 15:37:23 +0000 (17:37 +0200)
commitb99d954d88bee12f037fe1d06ade311212da8307
treee7eee184dac7a3138094caf64aaf31001b504d78
parent47baade2e61311823a6410984052b21729468ddf
cpufreq: intel_pstate: Fix missing return statement

Fix missing return statement when writing "off" to intel_pstate status
sysfs I/F.

Fixes: 381d927428aa ("cpufreq: intel_pstate: Free memory only when turning off")
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpufreq/intel_pstate.c