Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932387AbcCJWmZ (ORCPT ); Thu, 10 Mar 2016 17:42:25 -0500 Received: from down.free-electrons.com ([37.187.137.238]:51638 "EHLO mail.free-electrons.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753486AbcCJWmX (ORCPT ); Thu, 10 Mar 2016 17:42:23 -0500 Date: Thu, 10 Mar 2016 23:42:19 +0100 From: Alexandre Belloni To: Alexander Kochetkov Cc: Alessandro Zummo , rtc-linux@googlegroups.com, linux-kernel@vger.kernel.org Subject: Re: [PATCH] rtc: hym8563: fix invalid year calculation Message-ID: <20160310224219.GO9868@piout.net> References: <1457257437-18975-1-git-send-email-al.kochet@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1457257437-18975-1-git-send-email-al.kochet@gmail.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: 462 Lines: 17 On 06/03/2016 at 12:43:57 +0300, Alexander Kochetkov wrote : > Year field must be in BCD format, according to > hym8563 datasheet. > > Due to the bug year 2016 became 2010. > > Signed-off-by: Alexander Kochetkov > --- > drivers/rtc/rtc-hym8563.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > Applied, thanks. -- Alexandre Belloni, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com