From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bartlomiej Zolnierkiewicz Date: Thu, 04 Jan 2018 12:45:09 +0000 Subject: Re: [PATCH 2/2] fbdev: radeon: stop use ktime_get() for HZ calibration Message-Id: <2015687.0PYlFYgkdq@amdc3058> List-Id: References: <20171107141319.3390036-1-arnd@arndb.de> <20171107141319.3390036-2-arnd@arndb.de> In-Reply-To: <20171107141319.3390036-2-arnd@arndb.de> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Arnd Bergmann Cc: linux-fbdev@vger.kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Colin Ian King 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 Patch queued for 4.16, thanks. Best regards, -- Bartlomiej Zolnierkiewicz Samsung R&D Institute Poland Samsung Electronics