Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932414AbcDSWjy (ORCPT ); Tue, 19 Apr 2016 18:39:54 -0400 Received: from down.free-electrons.com ([37.187.137.238]:38335 "EHLO mail.free-electrons.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S932342AbcDSWjv (ORCPT ); Tue, 19 Apr 2016 18:39:51 -0400 Date: Wed, 20 Apr 2016 00:39:49 +0200 From: Alexandre Belloni To: Anurag Kumar Vulisha Cc: Alessandro Zummo , soren.brinkmann@xilinx.com, Michal Simek , rtc-linux@googlegroups.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Punnaiah Choudary Kalluri , Anirudha Sarangi , Srikanth Vemula , Anurag Kumar Vulisha Subject: Re: [PATCH 2/3] RTC: Write Calibration value before set time Message-ID: <20160419223949.GH29844@piout.net> References: <1460463346-24923-1-git-send-email-anuragku@xilinx.com> <1460463346-24923-2-git-send-email-anuragku@xilinx.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1460463346-24923-2-git-send-email-anuragku@xilinx.com> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 632 Lines: 19 On 12/04/2016 at 17:45:45 +0530, Anurag Kumar Vulisha wrote : > It is suggested to programe CALIB_WRITE register with the calibration > value before updating the SET_TIME_WRITE register, doing so will > clear the Tick Counter and force the next second to be signaled > exactly in 1 second. > > This patch updates the same. > > Signed-off-by: Anurag Kumar Vulisha > --- > drivers/rtc/rtc-zynqmp.c | 21 ++++++++++++++------- > 1 file changed, 14 insertions(+), 7 deletions(-) > Applied, thanks. -- Alexandre Belloni, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com