cpufreq: dt: fix the warning occurred when upped cpu5 before cpu4
authorFinley Xiao <finley.xiao@rock-chips.com>
Mon, 12 Dec 2016 01:46:29 +0000 (09:46 +0800)
committerHuang, Tao <huangtao@rock-chips.com>
Mon, 12 Dec 2016 13:13:23 +0000 (21:13 +0800)
commitb226c47d097d2591e58379f434e5115bbbfc87d2
treed402997ef7b4f7a9802c80d76c478aa16aeeae01
parente6615d9e4732c38a2df48d48577f3b30a085012d
cpufreq: dt: fix the warning occurred when upped cpu5 before cpu4

root@rk3399:/ # echo 0 > /sys/devices/system/cpu/cpu4/online
CPU4: shutdown
psci: CPU4 killed.
root@rk3399:/ # echo 0 > /sys/devices/system/cpu/cpu5/online
IRQ17 no longer affine to CPU5
CPU5: shutdown
psci: CPU5 killed.
root@rk3399:/ # echo 1 > /sys/devices/system/cpu/cpu5/online
Detected PIPT I-cache on CPU5
CPU5: found redistributor 101 region 0:0x00000000fefa0000
CPU5: update cpu_capacity 1024
CPU5: Booted secondary processor [410fd082]
cpu cpu5: opp_list_debug_create_link: Failed to create link
cpu cpu5: _add_opp_dev: Failed to register opp debugfs (-12)
cpu cpu5: dev_pm_opp_get_max_volt_latency: Invalid regulator (-6)

Change-Id: I9b066f9712b7f8426561e03a538a9a5c45138ab0
Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>
drivers/cpufreq/cpufreq-dt.c