Re: [PATCH 2/2] fbdev: radeon: stop use ktime_get() for HZ calibration

From: Bartlomiej Zolnierkiewicz
Date: Thu Jan 04 2018 - 07:45:20 EST


On Tuesday, November 07, 2017 03:13:06 PM Arnd Bergmann wrote:
> do_gettimeofday() is deprecated and a bit clumsy. This changes
> radeon_probe_pll_params() over to using ktime_get() with monotonic
> times. There is no need to check for negative values any more
> since the monotonic clocksource cannot go backwards, but I'm
> adding a check for zero-division in case of a bad clocksource.
>
> Signed-off-by: Arnd Bergmann <arnd@xxxxxxxx>

Patch queued for 4.16, thanks.

Best regards,
--
Bartlomiej Zolnierkiewicz
Samsung R&D Institute Poland
Samsung Electronics