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

2016-04-21 Thread Alexandre Belloni
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

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

2016-04-21 Thread Alexandre Belloni
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

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

2016-04-20 Thread Stefan Agner
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 --- drivers/rtc/rtc-snvs.c | 2 +- 1 file

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

2016-04-20 Thread Stefan Agner
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 --- drivers/rtc/rtc-snvs.c | 2 +- 1 file changed, 1