From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 11C3CC43603 for ; Wed, 11 Dec 2019 12:25:37 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id D7D5B20836 for ; Wed, 11 Dec 2019 12:25:36 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="FGnBXRCq" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org D7D5B20836 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=bootlin.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=/dpQPumf8CxJKJg+ugPlhlN8WSOhFwCWylf5VEIV3cI=; b=FGnBXRCqVKpNhA bkwnEJfhLq2Sc7X4tn0cccJiinlJVDs/YKpmqpemtfpXSZ0wdxhYkaC1lVlGD5BzL7y8WV6A8qwVm utcroY6PpyaShFMlaSi+Cl5KhbC8C3jaHbA9kZISbTyAQjdUkNRHxdqY9WGpw7pd//m8MqfuZlhCe ZkhP0ZPm0ltmtC3KuY+/LhhG6Qo6lNIdW+5+qLfb1LAiVsDY/gqkGWOIyvvr/9AMnZ9y3ncR9KdJa kVguIDM9lKXjnWAIjA7wVV6N8xVu3mjp1MksM9grfc3CL4Ld4f6m87qfbLNSZWORfp30eiA766cIk dns3C6xGTorx38VEWtWA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1if13c-0007ow-C4; Wed, 11 Dec 2019 12:25:32 +0000 Received: from relay9-d.mail.gandi.net ([217.70.183.199]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1if13X-0007m0-Ns; Wed, 11 Dec 2019 12:25:29 +0000 X-Originating-IP: 90.182.112.136 Received: from localhost (136.112.broadband15.iol.cz [90.182.112.136]) (Authenticated sender: alexandre.belloni@bootlin.com) by relay9-d.mail.gandi.net (Postfix) with ESMTPSA id 42316FF80D; Wed, 11 Dec 2019 12:25:13 +0000 (UTC) Date: Wed, 11 Dec 2019 13:25:09 +0100 From: Alexandre Belloni To: Hsin-Hsiung Wang Subject: Re: [PATCH v7 5/6] rtc: mt6397: fix alarm register overwrite Message-ID: <20191211122509.GX1463890@piout.net> References: <1576057435-3561-1-git-send-email-hsin-hsiung.wang@mediatek.com> <1576057435-3561-6-git-send-email-hsin-hsiung.wang@mediatek.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1576057435-3561-6-git-send-email-hsin-hsiung.wang@mediatek.com> User-Agent: Mutt/1.12.1 (2019-06-15) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20191211_042527_921257_F100925F X-CRM114-Status: GOOD ( 10.65 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , Alessandro Zummo , Josef Friedl , srv_heupstream@mediatek.com, Frank Wunderlich , Ran Bi , Sean Wang , linux-kernel@vger.kernel.org, Tianping Fang , devicetree@vger.kernel.org, Rob Herring , linux-mediatek@lists.infradead.org, linux-arm-kernel@lists.infradead.org, Matthias Brugger , Thomas Gleixner , Eddie Huang , Lee Jones , Kate Stewart , linux-rtc@vger.kernel.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 11/12/2019 17:43:54+0800, Hsin-Hsiung Wang wrote: > From: Ran Bi > > Alarm registers high byte was reserved for other functions. > This add mask in alarm registers operation functions. > This also fix error condition in interrupt handler. > > Fixes: fc2979118f3f ("rtc: mediatek: Add MT6397 RTC driver") > > Signed-off-by: Ran Bi > Signed-off-by: Hsin-Hsiung Wang > --- > drivers/rtc/rtc-mt6397.c | 39 +++++++++++++++++++++++++-------------- > include/linux/mfd/mt6397/rtc.h | 8 ++++++++ > 2 files changed, 33 insertions(+), 14 deletions(-) > Applied to rtc-fixes. I'm not sure why you used my previous email address though, v6 had the correct one. -- Alexandre Belloni, Bootlin Embedded Linux and Kernel engineering https://bootlin.com _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel