Re: [PATCH] rtc: snvs: return error in case enable_irq_wake fails

From: Alexandre Belloni
Date: Thu Apr 21 2016 - 19:22:20 EST


On 20/04/2016 at 16:09:57 -0700, Stefan Agner wrote :
> If enable_irq_wake fails, we should return that error code so that
> entering suspend fails. Otherwise we will get a WARNING along with
> the hint of a unbalanced wake disable:
> Unbalanced IRQ 37 wake disable
>
> Signed-off-by: Stefan Agner <stefan@xxxxxxxx>
> ---
> drivers/rtc/rtc-snvs.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
Applied, thanks.

--
Alexandre Belloni, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com