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@arndb.de
Patch queued for 4.16, thanks.
Best regards, -- Bartlomiej Zolnierkiewicz Samsung R&D Institute Poland Samsung Electronics