diff --git a/drivers/soc/rockchip/rockchip_system_monitor.c b/drivers/soc/rockchip/rockchip_system_monitor.c index 3a88786e183b..9642219c209e 100644 --- a/drivers/soc/rockchip/rockchip_system_monitor.c +++ b/drivers/soc/rockchip/rockchip_system_monitor.c @@ -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: