Messages in this thread | | | Subject | Re: [PATCH v2 2/4] thermal/core: Precompute the delays from msecs to jiffies | From | Lukasz Luba <> | Date | Thu, 10 Dec 2020 15:58:29 +0000 |
| |
On 12/7/20 7:09 PM, Daniel Lezcano wrote: > The delays are stored in ms units and when the polling function is > called this delay is converted into jiffies at each call. > > Instead of doing the conversion again and again, compute the jiffies > at init time and use the value directly when setting the polling. > > Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org> > ---
Reviewed-by: Lukasz Luba <lukasz.luba@arm.com>
| |