lkml.org 
[lkml]   [2020]   [Apr]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[RESEND PATCH 0/1] thermal: mediatek: add suspend/resume callback
Date
Change items:

1. Fix typo of measurement.
2. Change name of mtk_thermal_get_bank to mtk_thermal_lock_bank.
3. Change name of mtk_thermal_put_bank to mtk_thermal_unlock_bank.

Unchang items:

1. There are mtk_thermal_get_bank and mtk_thermal_put_bank in the
mtk_thermal_init_bank. So we also add mtk_thermal_get_bank and
mtk_thermal_put_bank in the mtk_thermal_disable_sensing. Any
control and settings of sensor in the thermal controller should
lock and unlock to prevent thermal controller from reporting
wrong temperature.

2. The mutex lock was changed in this patch.
[v4,7/7] thermal: mediatek: use spinlock to protect PTPCORESEL
(https://patchwork.kernel.org/patch/11452835/)



Louis Yu (1):
thermal: mediatek: add suspend/resume callback

drivers/thermal/mtk_thermal.c | 152 ++++++++++++++++++++++++++++++----
1 file changed, 134 insertions(+), 18 deletions(-)
\
 
 \ /
  Last update: 2020-04-08 11:06    [W:0.069 / U:0.444 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site