lkml.org 
[lkml]   [2019]   [Dec]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH V4 4/4] thermal/drivers/cpu_cooling: Rename to cpufreq_cooling
From
Date


On 11.12.19 22:33, Daniel Lezcano wrote:
>
> Hi Martin,
>
> I've a bug in the code.
>
>
> diff --git a/drivers/thermal/cpuidle_cooling.c
> b/drivers/thermal/cpuidle_cooling.c
> index 369c5c613f6b..628ad707f247 100644
> --- a/drivers/thermal/cpuidle_cooling.c
> +++ b/drivers/thermal/cpuidle_cooling.c
> @@ -192,7 +192,7 @@ __init cpuidle_of_cooling_register(struct
> device_node *np,
> goto out_id;
> }
>
> - idle_inject_set_duration(ii_dev, 0, TICK_USEC);
> + idle_inject_set_duration(ii_dev, TICK_USEC, TICK_USEC);
>
> idle_cdev->ii_dev = ii_dev;
>
>
> Let me know if that solves your issue.
>

It does. I now won't heat up over the hot trip point at all. That's what
I was expecting. thanks!

martin

\
 
 \ /
  Last update: 2019-12-12 08:35    [W:0.106 / U:0.064 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site