thermal: cooldev: fix cpucore cool devices driver issue [1/1]
authorHuan Biao <huan.biao@amlogic.com>
Thu, 20 Dec 2018 09:42:24 +0000 (17:42 +0800)
committerJianxin Pan <jianxin.pan@amlogic.com>
Tue, 25 Dec 2018 11:09:24 +0000 (03:09 -0800)
commit97f2a10eda8554042a4ea753664443fb4f260a23
tree941f355fd7bb4d63caa5aefea1b30bfcee09190c
parent300909bdb47e226c87d352817d40de1c4bac426c
thermal: cooldev: fix cpucore cool devices driver issue [1/1]

PD#SWPL-3334

Problem:
cpucore cool devices upper date type no match
cpucore num set error

Solution:
modify cpucore upper num check

Verify:
w400 pass

Change-Id: I83f829d31cab565d5ca3b892bb58a4a68b8f0f20
Signed-off-by: Huan Biao <huan.biao@amlogic.com>
drivers/amlogic/thermal/cpucore_cooling.c