Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp1766745pxp; Thu, 10 Mar 2022 11:44:23 -0800 (PST) X-Google-Smtp-Source: ABdhPJyv7mqYalZPBYd4lFWr9FnO/VJtApZq9xVUpRrXWwYsyJUEsklH3LtUzqWNemfVRLhnZknK X-Received: by 2002:a05:6a00:cd3:b0:4f7:31e2:349b with SMTP id b19-20020a056a000cd300b004f731e2349bmr6294087pfv.67.1646941463081; Thu, 10 Mar 2022 11:44:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646941463; cv=none; d=google.com; s=arc-20160816; b=UimVl2eOjhmsuYhROFTyqq55MfZES2RhNMFH5DJ4Qu+N3wamQRQRaWX2qN0/fYgULc cwK2XFaThJ41cPS0TUkG71A9nt92PcHwfS2L2Z8lpjzzIdvglCexhILzZaslk6coO3Zo T1uU07W9SElgTHFNmlVCy3y1q82t95KrNqDP4380YTUw7hoznhnPIe7R7Xdh4l8XA5kZ q49EoZBc5Pem45G4505rk0cMcrjYJAkl9CmfxqzzZ8tFraCJkkL9Sp8KlTHlMTjdcIds N4xQqROqM0I7uojZ3H91Yr1efx1o21kBQsqWIzMBkliXMUpyM3yHOTiCk8tD6eY2T7Xg MnoA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=yuLZvyDmx07dtOHeNAZ5njHvHkrJ39K8IFBS0/yye1E=; b=IDwd9uMbeB1J4Easr0ynt3CqVcBQ/8o3onLXZT+i2wZHUoMpcN+joHeMDfzr/34iz4 4SrIPfASicJpLRZkNIzOMn+kGRcZwC7C8Qu5u8lnn8SMFzLq5v9yPJz+uymwhZDdaM0C JPHMuO1TYpkbrBz40v0PJDMZFw7uacURCyjbsgWbzJdSr2XkK185h/xEsfFh25g24xrZ +e+XLYS1nAoJXS0U+HmhbZVscBHsKYysGel4pe3IFfymbvtWWz/4PLIJii8qhYzsvlk0 5Rb0EWPBOobUqMQKOCz3wFf25XqIN8QP5/+FWhOoNp1VlTAKP5Xhm6ToUAs74YBUSy6B Ic9Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=UFLHQCMr; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ck20-20020a17090afe1400b001bd14e01fb8si6213486pjb.166.2022.03.10.11.44.06; Thu, 10 Mar 2022 11:44:23 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=UFLHQCMr; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239245AbiCJD3l (ORCPT + 99 others); Wed, 9 Mar 2022 22:29:41 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34484 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233019AbiCJD3j (ORCPT ); Wed, 9 Mar 2022 22:29:39 -0500 Received: from mail-yw1-x1134.google.com (mail-yw1-x1134.google.com [IPv6:2607:f8b0:4864:20::1134]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E442D128DDC; Wed, 9 Mar 2022 19:28:39 -0800 (PST) Received: by mail-yw1-x1134.google.com with SMTP id 00721157ae682-2db2add4516so44837667b3.1; Wed, 09 Mar 2022 19:28:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=yuLZvyDmx07dtOHeNAZ5njHvHkrJ39K8IFBS0/yye1E=; b=UFLHQCMrRLGiVgSdtagsUX/9qqpRsvJi0igxULCIZ+ghvxMvNr50A1LbM2zl3uwrFX PA8aeNwqrBF3Duw9WGnBUhcRK23Mb/FHC3NIl/4jvcAOg9BGruit91LboxhD4seAgxVS rDSG3Jq9XjXwparBajn/c8K5oGH4Uqy6AKJl4BNvtTOT/do2J8fqF9H1IZEfyj9BPH7s lsIIPoQej8DIgQi73KteOd+cmH8YCMjtlbtwEc69/7BuvXoLsGR2i3lpGwpE59pt6Ome DRCAiFKiXf2rZQ8yqj02xnQiSInRQ+fo3id6Kt2Vfnzi7fRXJZFx2aS8G1XauBhk1j6c qKyA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=yuLZvyDmx07dtOHeNAZ5njHvHkrJ39K8IFBS0/yye1E=; b=uB5sJmBHVAjFIeHshWcoXquRQPoffDI7uXFhRNmI0oHmi8uM5AoKZtFy6ycVxNMfjE RRecM9xLzBNxjW2coJxEb1gnwp+CsCyr4kfyZcSurFn9yUUB5fHNHzTFQgS4TVAob2Xb ojlYrblCJsoR0Iug4ajEkmd1hUU8AwvwsXbnBVY6V8P8M2wEjUW7L3W2IX9PyJF6VyHX VyICeQ2ntSe/zGUoYh0i1uOCi1UnQT+3TPY1CShgwPWzAfa3WGKOXlCeZsruqObWQdgk AzpNSgBZlMLH4GQY/sYCDY3Kt/pZCUYwe4nzMunai6wNd/E8cu2iaKZA5cJTWahNb/2d hcWw== X-Gm-Message-State: AOAM5331jzkob8MlSWenZ1mpDuiXvi1q+ZgJ+K5OYt+bpefG8jWaztIv spetCS2n7U48CwwFN4BWxOQk3/uaxselLg5t6wPPA3GJ X-Received: by 2002:a81:cf06:0:b0:2db:f404:d7b with SMTP id u6-20020a81cf06000000b002dbf4040d7bmr2501883ywi.334.1646882919000; Wed, 09 Mar 2022 19:28:39 -0800 (PST) MIME-Version: 1.0 References: <20220309162301.61679-1-alexandre.belloni@bootlin.com> <20220309162301.61679-21-alexandre.belloni@bootlin.com> In-Reply-To: <20220309162301.61679-21-alexandre.belloni@bootlin.com> From: Viresh Kumar Date: Thu, 10 Mar 2022 08:58:28 +0530 Message-ID: Subject: Re: [PATCH 21/29] rtc: spear: fix spear_rtc_read_time To: Alexandre Belloni Cc: Alessandro Zummo , linux-rtc@vger.kernel.org, Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-1.5 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Mar 9, 2022 at 10:26 PM Alexandre Belloni wrote: > > The reference manual doesn't specify whether the registers are latched and > they probably aren't, ensure the read time and date are consistent. > > Signed-off-by: Alexandre Belloni > --- > drivers/rtc/rtc-spear.c | 6 ++++-- > 1 file changed, 4 insertions(+), 2 deletions(-) Acked-by: Viresh Kumar