mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-06 10:58:48 +09:00
soc: rockchip: rockchip_system_monitor: Don't init wide temp when tz is NULL
Change-Id: I9e5213f130582fcb7ee1beae7a5200e9d7ff4bf4 Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user