Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp2884606ybc; Mon, 18 Nov 2019 06:16:36 -0800 (PST) X-Google-Smtp-Source: APXvYqzwA3VQe1SSl9K7PbK7SFw2bCqBrc6NY5Mm6RUUebETK+qNugC1roOq0D7FtcNnbXGoA9U/ X-Received: by 2002:a05:600c:295:: with SMTP id 21mr28466345wmk.43.1574086596491; Mon, 18 Nov 2019 06:16:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574086596; cv=none; d=google.com; s=arc-20160816; b=MFYKvyEsbhT0dDSP8HLhl8aNfaWMSDyk1SYjMA0Y3k0p8l+shvjlpXGLWFe06Vx1H2 7AvRDhbbDE54kg6PlSn5I4Kwmt2frSTrUZf8bwhNNqA9M0BxFUuawpGkds5mPlCk0u40 c9wCt3eu4dedSlWrpXKccQCukzzNq/Nzorf/MatQCm5mvEynt5qOUWojf3gTAncSiee5 K5j+NXibQRYGWlHJfXIv+1+Jk2acnkc2ukKSu1PWcGLBX8qFiizuzExH6LiXlQQru2XQ pkh3BMu+K9/go5ons1Y3xCWUlq8jz8bAOOjoukMmS9Jhn5vofrsilGCXFvkSlP9Hdutu QkZA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version; bh=BQnUfuqyZN25lSU7+xutpRj8M5iGXjHoH4VRmIJgroU=; b=WNaLJXUs8Xi6z+1weBOuJvkyTgFjr7ctxO5zathw3a9eplDlbA7CtHZI2yBu3rcgNv WBz/T8melbVtD3yLedPjxPP3eQDc/OQhTht426JiUj/w+PUP8fz5PERJdYDb3eC/lkIb H3xVphdCuAV3SrFlWS/FtisgMzh7tpW/Y3Ue1sMILpoJm3MY345HtIeZN2Rs3AGg/zq3 5thLMFX5XuhIll1vg46wsS0UIsklp5k6YGPxThEMWalPv+n2yCWqOm9kDrS+NIR5rK5E P0DCkttC27FN/XH1iJIEmeIfFwdxLAfcXfaPw5ZxhK1u3rDYTZXGbjLbvUdUGSSRC/t7 hLPQ== 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 f5si13559722edf.232.2019.11.18.06.16.11; Mon, 18 Nov 2019 06:16:36 -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 S1726992AbfKROPA (ORCPT + 99 others); Mon, 18 Nov 2019 09:15:00 -0500 Received: from mail-oi1-f193.google.com ([209.85.167.193]:43056 "EHLO mail-oi1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726654AbfKROO7 (ORCPT ); Mon, 18 Nov 2019 09:14:59 -0500 Received: by mail-oi1-f193.google.com with SMTP id l20so15389770oie.10; Mon, 18 Nov 2019 06:14:57 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=BQnUfuqyZN25lSU7+xutpRj8M5iGXjHoH4VRmIJgroU=; b=H1CvtY7+dMRgKdgSLcBFmSHsRhZNv3Mp80NseIGqZp80oVzjiMmY9njitJyaQXCb0M 8jYdPTcP5KGzgTz2ARYrtIvm8pXZTOOO1/J2NgqtSYlBOAgDr+z+t1iA/KpD8kyt8l3y DNzng3/xnRY8nBnQZXptq0SWgYR9dxYg+XtpZ0DpatjR2+2w0MQUuIEVd1ZxO+VPRpbl 81C4TCnznWFrgcA773VJduU5yF/QKjWRCgCDS6dpIwVBYETKPLrGJEmo8tZDRMgRB3l/ MsezDH9neSLKANR01Z+axJAA6VfBgWEMVvsm7F6wYsfmomQQIjYOiXtPYQikEXWGKHiL v2OA== X-Gm-Message-State: APjAAAUrkLrDVmTKWNpzHxxb6L38LHFmYQomF1PhyrWpwQ7Zv+IsItAM IVzXgPI7YgapEZoR6hTO4uigR946ZW4dLHNi5E2MaQ== X-Received: by 2002:aca:fc92:: with SMTP id a140mr19637268oii.153.1574086497141; Mon, 18 Nov 2019 06:14:57 -0800 (PST) MIME-Version: 1.0 References: <20191116110548.8562-1-jongk@linux-m68k.org> In-Reply-To: <20191116110548.8562-1-jongk@linux-m68k.org> From: Geert Uytterhoeven Date: Mon, 18 Nov 2019 15:14:46 +0100 Message-ID: Subject: Re: [PATCH] rtc: msm6242: Fix reading of 10-hour digit To: Kars de Jong Cc: Alessandro Zummo , Alexandre Belloni , linux-rtc@vger.kernel.org, Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Nov 16, 2019 at 12:06 PM 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 Reviewed-by: Geert Uytterhoeven Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds