From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752251AbbJBKlk (ORCPT ); Fri, 2 Oct 2015 06:41:40 -0400 Received: from mail-ob0-f178.google.com ([209.85.214.178]:33812 "EHLO mail-ob0-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750850AbbJBKli (ORCPT ); Fri, 2 Oct 2015 06:41:38 -0400 MIME-Version: 1.0 In-Reply-To: <1442850433-5903-3-git-send-email-sudeep.holla@arm.com> References: <1442850433-5903-1-git-send-email-sudeep.holla@arm.com> <1442850433-5903-3-git-send-email-sudeep.holla@arm.com> Date: Fri, 2 Oct 2015 03:41:37 -0700 Message-ID: Subject: Re: [PATCH 02/17] rtc: ab8500: remove misuse of IRQF_NO_SUSPEND flag From: Linus Walleij To: Sudeep Holla Cc: "linux-pm@vger.kernel.org" , "linux-kernel@vger.kernel.org" , Thomas Gleixner , "Rafael J. Wysocki" , Alessandro Zummo , Alexandre Belloni , "rtc-linux@googlegroups.com" Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Sep 21, 2015 at 8:46 AM, Sudeep Holla wrote: > The IRQF_NO_SUSPEND flag is used to identify the interrupts that should > be left enabled so as to allow them to work as expected during the > suspend-resume cycle, but doesn't guarantee that it will wake the system > from a suspended state, enable_irq_wake is recommended to be used for > the wakeup. > > This patch removes the use of IRQF_NO_SUSPEND flags and uses newly > introduce PM wakeup APIs dev_pm_{set,clear}_wake_irq. > > Cc: Linus Walleij > Cc: Alessandro Zummo > Cc: Alexandre Belloni > Cc: rtc-linux@googlegroups.com > Signed-off-by: Sudeep Holla Acked-by: Linus Walleij Yours, Linus Walleij