Skip to content

Commit b50fe07

Browse files
ramshell68DhineshCool
authored andcommitted
thermal: adc-tm: implement emul_temp function
Bug: 130391839 Test: Verified CPU/GPU throttling via emul temp run pts -m PtsThermalHalTestCases Change-Id: I2b42780166ca186124f73cec68953d6ca477b5da Signed-off-by: TeYuan Wang <kamewang@google.com> Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
1 parent dc34b03 commit b50fe07

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

drivers/thermal/of-thermal.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -657,11 +657,6 @@ static void handle_thermal_trip(struct thermal_zone_device *tz,
657657
struct list_head *head;
658658
bool notify = false;
659659

660-
// skip to update sensor temperature if emul temp set
661-
if (IS_ENABLED(CONFIG_THERMAL_EMULATION) && tz->emul_temperature) {
662-
return;
663-
}
664-
665660
head = &data->senps->first_tz;
666661
list_for_each_entry(data, head, list) {
667662
zone = data->tzd;

0 commit comments

Comments
 (0)