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)
committerLuan Yuan <luan.yuan@amlogic.com>
Wed, 26 Dec 2018 12:12:58 +0000 (20:12 +0800)
commit1f2f7cb9a27ac2f47d5ab8880b657eb2ff307e82
treed3e877fb7f4ae9f8992e2416a66df5760f787208
parentd1e97f76118a8085ac3dd00cc537f2a9e7b030e5
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