mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 11:50:43 +09:00
soc: rockchip: system_monitor: Fix thermal_work empty when resume
Change-Id: I784cf45bd4070fe040b20b424eccef8934775f92 Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>
This commit is contained in:
@@ -1248,7 +1248,8 @@ static int monitor_pm_notify(struct notifier_block *nb,
|
||||
case PM_POST_HIBERNATION:
|
||||
case PM_POST_RESTORE:
|
||||
case PM_POST_SUSPEND:
|
||||
rockchip_system_monitor_thermal_update();
|
||||
if (system_monitor->tz)
|
||||
rockchip_system_monitor_thermal_update();
|
||||
atomic_set(&monitor_in_suspend, 0);
|
||||
break;
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user