diff --git a/drivers/soc/rockchip/rockchip_system_monitor.c b/drivers/soc/rockchip/rockchip_system_monitor.c index c35978a95d57..4d4f0b2c1011 100644 --- a/drivers/soc/rockchip/rockchip_system_monitor.c +++ b/drivers/soc/rockchip/rockchip_system_monitor.c @@ -1006,6 +1006,8 @@ rockchip_system_monitor_wide_temp_init(struct monitor_dev_info *info) if (!info->opp_table) return; + if (!system_monitor->tz) + return; /* * set the init state to low temperature that the voltage will be enough