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