Skip to content

Commit

Permalink
Hack to force usage of 2Ghz
Browse files Browse the repository at this point in the history
  • Loading branch information
THEBOSS619 committed Dec 11, 2019
1 parent a476b5b commit 71b41f5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions drivers/thermal/samsung/exynos_tmu.c
Original file line number Diff line number Diff line change
Expand Up @@ -1405,6 +1405,9 @@ static int exynos_tmu_parse_ect(struct exynos_tmu_data *data)
__tz->ntrips = __tz->num_tbps = function->num_of_range;
pr_info("Trip count parsed from ECT : %d, zone : %s", function->num_of_range, tz->type);

if(function->range_list[i].max_frequency == 1950000)
function->range_list[i].max_frequency = 2002000;

for (i = 0; i < function->num_of_range; ++i) {
temperature = function->range_list[i].lower_bound_temperature;
freq = function->range_list[i].max_frequency;
Expand Down

0 comments on commit 71b41f5

Please sign in to comment.