Re: [PATCH 01/17] rtc: pl031: remove misuse of IRQF_NO_SUSPEND flag

From: Alexandre Belloni
Date: Fri Oct 02 2015 - 09:17:06 EST


On 02/10/2015 at 11:45:18 +0100, Sudeep Holla wrote :
>
>
> On 02/10/15 11:40, Linus Walleij wrote:
> >On Mon, Sep 21, 2015 at 8:46 AM, Sudeep Holla <sudeep.holla@xxxxxxx> 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 <linus.walleij@xxxxxxxxxx>
> >>Cc: Alessandro Zummo <a.zummo@xxxxxxxxxxxx>
> >>Cc: Alexandre Belloni <alexandre.belloni@xxxxxxxxxxxxxxxxxx>
> >>Cc: rtc-linux@xxxxxxxxxxxxxxxx
> >>Signed-off-by: Sudeep Holla <sudeep.holla@xxxxxxx>
> >
> >Looks correct to me.
> >Acked-by: Linus Walleij <linus.walleij@xxxxxxxxxx>
> >
>
> Thanks, while you are at it, do you know what interrupt stv2_pl031
> shares so that I can fix the TODO in the comment or the code(whichever
> applicable).
>

So that you know, I'm planning to apply them this weekend, I couldn't
find time to do it before.

--
Alexandre Belloni, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/