From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Sender: rtc-linux@googlegroups.com Received: from mail.free-electrons.com (down.free-electrons.com. [37.187.137.238]) by gmr-mx.google.com with ESMTP id e78si114839wmc.3.2016.04.19.15.39.50 for ; Tue, 19 Apr 2016 15:39:50 -0700 (PDT) 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: [rtc-linux] 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=UTF-8 In-Reply-To: <1460463346-24923-2-git-send-email-anuragku@xilinx.com> Reply-To: rtc-linux@googlegroups.com List-ID: List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , 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 -- -- You received this message because you are subscribed to "rtc-linux". Membership options at http://groups.google.com/group/rtc-linux . Please read http://groups.google.com/group/rtc-linux/web/checklist before submitting a driver. --- You received this message because you are subscribed to the Google Groups "rtc-linux" group. To unsubscribe from this group and stop receiving emails from it, send an email to rtc-linux+unsubscribe@googlegroups.com. For more options, visit https://groups.google.com/d/optout.