lkml.org 
[lkml]   [2020]   [Dec]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [PATCH v2 1/4] thermal/core: Rename passive_delay and polling_delay with units
    From
    Date


    On 12/7/20 7:08 PM, Daniel Lezcano wrote:
    > The input unit used by the thermal framework is the msec but it uses
    > the jiffies to set the timers.
    >
    > As it is stored in the thermal zone device structure, everytime the
    > timer is setup at each polling interval, the msecs to jiffies
    > conversion happens. The jiffies is the unit the thermal framework is
    > using, so keeping it under the jiffies instead of msecs will save some
    > pointless conversion.

    Make sense

    >
    > Set the scene to directly store the delays under their jiffies
    > form by adding to the variable name the 'ms' suffix.
    >
    > Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
    > ---


    Reviewed-by: Lukasz Luba <lukasz.luba@arm.com>

    \
     
     \ /
      Last update: 2020-12-10 16:52    [W:3.365 / U:0.016 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site