cpufreq: rockchip: fix scale rate error when resume
authorXiao Feng <xf@rock-chips.com>
Mon, 19 Oct 2015 09:22:03 +0000 (17:22 +0800)
committerXiao Feng <xf@rock-chips.com>
Wed, 21 Oct 2015 06:55:03 +0000 (14:55 +0800)
commit625813c9bd00906b21f7c45a246bc3f5ce0e8313
treea2bd1c95e5d3c38c205eccce8400006e9655d50a
parent5838ee16b41a620f39f79b856c7031987be8af0d
cpufreq: rockchip: fix scale rate error when resume

If the return value is 0, it will change voltage in DVFS and lead to
error when resume. Here it change frequency unsuccessfully in fact, so
it need return -EINVAL.

Change-Id: Ia9eff9f75060fcc79c1b275c19de8740754617de
Signed-off-by: Xiao Feng <xf@rock-chips.com>
drivers/cpufreq/rockchip_big_little.c