summaryrefslogtreecommitdiffstats
path: root/mm/mincore.c
diff options
context:
space:
mode:
authorCaesar Wang <wxt@rock-chips.com>2017-01-05 05:37:55 +0100
committerEduardo Valentin <edubezval@gmail.com>2017-01-17 05:30:49 +0100
commitdb8318865e2c04dbe3d95089c7215b94a5b879b7 (patch)
tree920593910bd3752772d17428e14a718f428b0866 /mm/mincore.c
parentthermal: rockchip: handle set_trips without the trip points (diff)
downloadlinux-db8318865e2c04dbe3d95089c7215b94a5b879b7.tar.xz
linux-db8318865e2c04dbe3d95089c7215b94a5b879b7.zip
thermal: rockchip: fixes the conversion table
As Ayaka reported the thermal was abormal on rk3288 at booting time. thermal thermal_zone1: critical temperature reached(125 C),shutting down thermal thermal_zone2: critical temperature reached(125 C),shutting down thermal thermal_zone1: critical temperature reached(125 C),shutting down thermal thermal_zone2: critical temperature reached(125 C),shutting down ... The root caused by reading the invald analogic value, the value is zero will convert the 125 degree to trigger the critical temperature. Fixes it with insteading of the incorrect reading now. Fixes commit cadf29dc2a8bcaae83 ("thermal: rockchip: optimize the conversion table") Reported-by: ayaka <ayaka@soulik.info> Signed-off-by: Caesar Wang <wxt@rock-chips.com> Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
Diffstat (limited to 'mm/mincore.c')
0 files changed, 0 insertions, 0 deletions