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)
committerArve Hjønnevåg <arve@android.com>
Mon, 1 Jul 2013 21:16:27 +0000 (14:16 -0700)
commitfb07c42ed81ae73f08893440cf19a0967c85d1b8
tree155c52166fa872691ca00cd5a1d30862f0f0f85d
parent90a3b1e8f9a9ce6339cea2eef7703eaf450a4c80
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