diff options
author | Stefan Agner | 2016-04-21 01:09:57 +0200 |
---|---|---|
committer | Alexandre Belloni | 2016-05-20 12:33:51 +0200 |
commit | a350259da4b0556fcf276c506a14f406d608c2b3 (patch) | |
tree | 5328cfc3bf0524b9af9c32d19022e118355b5e25 /drivers/rtc/rtc-ds3232.c | |
parent | rtc: zynqmp: Update seconds time programming logic (diff) | |
download | kernel-qcow2-linux-a350259da4b0556fcf276c506a14f406d608c2b3.tar.gz kernel-qcow2-linux-a350259da4b0556fcf276c506a14f406d608c2b3.tar.xz kernel-qcow2-linux-a350259da4b0556fcf276c506a14f406d608c2b3.zip |
rtc: snvs: return error in case enable_irq_wake fails
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@agner.ch>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Diffstat (limited to 'drivers/rtc/rtc-ds3232.c')
0 files changed, 0 insertions, 0 deletions