From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752264AbbJRAPU (ORCPT ); Sat, 17 Oct 2015 20:15:20 -0400 Received: from down.free-electrons.com ([37.187.137.238]:54599 "EHLO mail.free-electrons.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751640AbbJRAPS (ORCPT ); Sat, 17 Oct 2015 20:15:18 -0400 Date: Sun, 18 Oct 2015 02:15:16 +0200 From: Alexandre Belloni To: Wenyou Yang Cc: Alessandro Zummo , Nicolas Ferre , Ludovic Desroches , rtc-linux@googlegroups.com, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH v2] rtc: at91rm9200: clear RTC alarm status flag prior to suspending Message-ID: <20151018001516.GX3421@piout.net> References: <1444639163-14255-1-git-send-email-wenyou.yang@atmel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1444639163-14255-1-git-send-email-wenyou.yang@atmel.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 12/10/2015 at 16:39:23 +0800, Wenyou Yang wrote : > As said in the SAMA5D2 datasheet, "Prior to instructing the device > to enter ULP mode 1, ... and the internal sources of wake-up must > be cleared." > > This patch is to clear the RTC alarm status flag prior to suspending > to avoid the erroneous wake-up activity, as it is often used as > the wake-up source for the ULP mode 1. > > Signed-off-by: Wenyou Yang > --- > > Changes in v2: > - Add more detail commit log. > > drivers/rtc/rtc-at91rm9200.c | 2 ++ > 1 file changed, 2 insertions(+) > Applied, thanks. -- Alexandre Belloni, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.free-electrons.com (down.free-electrons.com. [37.187.137.238]) by gmr-mx.google.com with ESMTP id w4si412563wiz.0.2015.10.17.17.15.17 for ; Sat, 17 Oct 2015 17:15:17 -0700 (PDT) Date: Sun, 18 Oct 2015 02:15:16 +0200 From: Alexandre Belloni To: Wenyou Yang Cc: Alessandro Zummo , Nicolas Ferre , Ludovic Desroches , rtc-linux@googlegroups.com, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [rtc-linux] Re: [PATCH v2] rtc: at91rm9200: clear RTC alarm status flag prior to suspending Message-ID: <20151018001516.GX3421@piout.net> References: <1444639163-14255-1-git-send-email-wenyou.yang@atmel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 In-Reply-To: <1444639163-14255-1-git-send-email-wenyou.yang@atmel.com> Reply-To: rtc-linux@googlegroups.com List-ID: List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , On 12/10/2015 at 16:39:23 +0800, Wenyou Yang wrote : > As said in the SAMA5D2 datasheet, "Prior to instructing the device > to enter ULP mode 1, ... and the internal sources of wake-up must > be cleared." > > This patch is to clear the RTC alarm status flag prior to suspending > to avoid the erroneous wake-up activity, as it is often used as > the wake-up source for the ULP mode 1. > > Signed-off-by: Wenyou Yang > --- > > Changes in v2: > - Add more detail commit log. > > drivers/rtc/rtc-at91rm9200.c | 2 ++ > 1 file changed, 2 insertions(+) > Applied, thanks. -- Alexandre Belloni, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com -- -- You received this message because you are subscribed to "rtc-linux". Membership options at http://groups.google.com/group/rtc-linux . Please read http://groups.google.com/group/rtc-linux/web/checklist before submitting a driver. --- You received this message because you are subscribed to the Google Groups "rtc-linux" group. To unsubscribe from this group and stop receiving emails from it, send an email to rtc-linux+unsubscribe@googlegroups.com. For more options, visit https://groups.google.com/d/optout. From mboxrd@z Thu Jan 1 00:00:00 1970 From: alexandre.belloni@free-electrons.com (Alexandre Belloni) Date: Sun, 18 Oct 2015 02:15:16 +0200 Subject: [PATCH v2] rtc: at91rm9200: clear RTC alarm status flag prior to suspending In-Reply-To: <1444639163-14255-1-git-send-email-wenyou.yang@atmel.com> References: <1444639163-14255-1-git-send-email-wenyou.yang@atmel.com> Message-ID: <20151018001516.GX3421@piout.net> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On 12/10/2015 at 16:39:23 +0800, Wenyou Yang wrote : > As said in the SAMA5D2 datasheet, "Prior to instructing the device > to enter ULP mode 1, ... and the internal sources of wake-up must > be cleared." > > This patch is to clear the RTC alarm status flag prior to suspending > to avoid the erroneous wake-up activity, as it is often used as > the wake-up source for the ULP mode 1. > > Signed-off-by: Wenyou Yang > --- > > Changes in v2: > - Add more detail commit log. > > drivers/rtc/rtc-at91rm9200.c | 2 ++ > 1 file changed, 2 insertions(+) > Applied, thanks. -- Alexandre Belloni, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com