Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp2888933ybc; Mon, 18 Nov 2019 06:20:21 -0800 (PST) X-Google-Smtp-Source: APXvYqzVkQ8EoNbSSUL7ZpfZ8iw81XaCG29H5m4nmWxlRMSyl+/PpXE6EchJRchcBqn8UjHiWIKV X-Received: by 2002:a17:906:b246:: with SMTP id ce6mr26189389ejb.298.1574086821075; Mon, 18 Nov 2019 06:20:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574086821; cv=none; d=google.com; s=arc-20160816; b=Reclerh+mfI+V2N3J2Pg9lSTXgmTNlNQC25dDq3M+Y5iyLxA3Q5bxiIH9ubsn0YXro ZoTvkWXf+FeE706pZyzfvJQXP1r9HOld5XyJfSTWX36Ph37Ps/QDOPddqWXDJRI0r6v+ pgCvyyfEPVUda2vwdGagvpQBnBD4ud8IYxXZfegpBhCHhlPPV9cWuJIiooAE62Eydo0P uGEBTO38VDlvpblt/9/dEsOvJppwWEGVmrNy44dKfl2S2VXfQakCu3Dadpw7UpBdDgp6 I1Ttqt0jkPyOWZ1oK35PaIDnLlv7b5CYibPhUw3XQ4L6yW2AzpsL3gs8pze+AhzC0SSo G8KA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=Ir6eLXSU9lRgwa41vUXFx9enwQmOdYr3M2Mj6CCMnl4=; b=MoGwSwbsCVroluiUWTOesvmPDLCAgWd/Kl/9w24GfzQzijOslgYFHrf3EMAJbP/KDX dC+1il3cI5U2esN5OQFOyWS/LE1X28uWuF22a4pPeFaMmKIeGiMAUkWrs7DaeTZveBVS WnAJ4Rzp1kTJn5C0JH0Ce22zuoAo8deg3C7UAE96mjgGoZVSCI+q2h7BT7ZqwQcFG7Iw T0DHT2PH83z9H6+VhSnDqidiXUFvTBy9IVux9RnSWx/H9avGKATtJw8Gq9BhBhYHCn8g 5yhqvTbpGhAVOZMkOrpq74FVzXtakqzgG2/M+S70a+ojK/Lm1GAtNfrE+6zoaoJqIjtv Tczg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i10si11783451ejj.8.2019.11.18.06.19.57; Mon, 18 Nov 2019 06:20:21 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727082AbfKROS6 (ORCPT + 99 others); Mon, 18 Nov 2019 09:18:58 -0500 Received: from relay12.mail.gandi.net ([217.70.178.232]:54575 "EHLO relay12.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726631AbfKROS5 (ORCPT ); Mon, 18 Nov 2019 09:18:57 -0500 Received: from localhost (unknown [92.184.107.65]) (Authenticated sender: alexandre.belloni@bootlin.com) by relay12.mail.gandi.net (Postfix) with ESMTPSA id 7C6E1200003; Mon, 18 Nov 2019 14:18:55 +0000 (UTC) Date: Mon, 18 Nov 2019 15:18:54 +0100 From: Alexandre Belloni To: Kars de Jong Cc: Alessandro Zummo , linux-rtc@vger.kernel.org, linux-kernel@vger.kernel.org, Geert Uytterhoeven Subject: Re: [PATCH] rtc: msm6242: Fix reading of 10-hour digit Message-ID: <20191118141854.GE3632@piout.net> References: <20191116110548.8562-1-jongk@linux-m68k.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20191116110548.8562-1-jongk@linux-m68k.org> User-Agent: Mutt/1.12.1 (2019-06-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 16/11/2019 12:05:48+0100, Kars de Jong wrote: > The driver was reading the wrong register as the 10-hour digit due to > a misplaced ')'. It was in fact reading the 1-second digit register due > to this bug. > > Also remove the use of a magic number for the hour mask and use the define > for it which was already present. > > Cc: Geert Uytterhoeven > Tested-by: Kars de Jong > Signed-off-by: Kars de Jong > --- > drivers/rtc/rtc-msm6242.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > Applied, thanks. -- Alexandre Belloni, Bootlin Embedded Linux and Kernel engineering https://bootlin.com