From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751126AbcFDOqb (ORCPT ); Sat, 4 Jun 2016 10:46:31 -0400 Received: from down.free-electrons.com ([37.187.137.238]:49811 "EHLO mail.free-electrons.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750889AbcFDOq3 (ORCPT ); Sat, 4 Jun 2016 10:46:29 -0400 Date: Sat, 4 Jun 2016 16:46:26 +0200 From: Alexandre Belloni To: Gabriele Mazzotta Cc: a.zummo@towertech.it, rtc-linux@googlegroups.com, linux-kernel@vger.kernel.org, matthew.garrett@nebula.com Subject: Re: [PATCH 1/2] rtc-cmos: Clear expired alarm after resume Message-ID: <20160604144626.GM4594@piout.net> References: <1464795615-7748-1-git-send-email-gabriele.mzt@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1464795615-7748-1-git-send-email-gabriele.mzt@gmail.com> User-Agent: Mutt/1.6.0 (2016-04-01) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On 01/06/2016 at 17:40:14 +0200, Gabriele Mazzotta wrote : > If the system wakes up because of a wake alarm, the internal state > of the alarm is not updated. As consequence, the state no longer > reflects the actual state of the hardware and setting a new alarm > is not possible until the expired alarm is cleared. > I'm not completely sure to understand what is happening but could you check whether that one is solved by 2b2f5ff00f63847d95adad6289bd8b05f5983dd5 in my tree (rtc-next). -- Alexandre Belloni, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com