cpufreq: interactive: handle errors from cpufreq_frequency_table_target
authorTodd Poynor <toddpoynor@google.com>
Mon, 22 Apr 2013 23:44:58 +0000 (16:44 -0700)
committerJohn Stultz <john.stultz@linaro.org>
Tue, 16 Feb 2016 21:52:55 +0000 (13:52 -0800)
commitf71b480fd5f272d929084800e37b5b07cbd3ffdf
treef75404c4fbaeeffbee4f4e027ff40ec04ef69998
parentf587d09cb66b24d441d9df08a9fbce5ab7af9102
cpufreq: interactive: handle errors from cpufreq_frequency_table_target

Add checks for error return from cpufreq_frequency_table_target, and be
less noisy on the existing call with an error check.  CPU hotplug and
system shutdown may cause this call to return -EINVAL.

Bug: 8613560
Change-Id: Id78d8829920462c0db1c7e14e717d91740d6cb44
Signed-off-by: Todd Poynor <toddpoynor@google.com>
drivers/cpufreq/cpufreq_interactive.c