Stefan Agner
119434f44c
rtc: snvs: fix wakealarm by call enable_irq_wake earlier
...
When entering suspend while an wakeup alarm is set, enable_set_wake
should make sure that the RTC interrupt keep being enabled and the
.irq_set_wake for the RTC interrupt get called. However, since the
driver uses the suspend_noirq callback, the call to enable_irq_wake
has been made after disabling the interrupts. While .irq_set_wake
has been called properly, the interrupt remained disabled.
Use the suspend callback to call enable_irq_wake early enough to
ensure the RTC interrupt remains enabled.
Fixes: 7654e9d4fd8f ("drivers/rtc/rtc-snvs: fix suspend/resume")
Cc: <stable@vger.kernel.org> # 3.19
Signed-off-by: Stefan Agner <stefan@agner.ch>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
2015-06-25 01:13:38 +02:00
..
2015-04-17 09:04:01 -04:00
2015-04-17 09:04:02 -04:00
2015-06-19 20:03:20 +02:00
2015-06-25 01:13:35 +02:00
2015-06-25 01:13:35 +02:00
2014-10-20 16:21:31 +02:00
2014-10-20 16:21:31 +02:00
2015-04-03 08:18:25 +02:00
2015-06-19 20:03:20 +02:00
2015-04-17 09:04:00 -04:00
2015-05-05 17:10:10 -07:00
2015-05-14 17:55:51 -07:00
2014-04-03 16:21:22 -07:00
2015-06-25 01:12:50 +02:00
2015-04-17 09:04:12 -04:00
2013-04-05 09:36:53 -07:00
2015-03-04 22:10:59 +01:00
2014-10-20 16:21:31 +02:00
2014-10-20 16:21:31 +02:00
2014-10-29 16:33:14 -07:00
2014-10-20 16:21:31 +02:00
2015-04-17 09:04:02 -04:00
2014-10-20 16:21:31 +02:00
2015-04-17 09:04:00 -04:00
2014-10-20 16:21:31 +02:00
2014-10-20 16:21:31 +02:00
2014-10-20 16:21:31 +02:00
2015-01-23 17:21:56 -08:00
2015-04-17 09:04:01 -04:00
2014-10-20 16:21:31 +02:00
2014-10-20 16:21:31 +02:00
2014-10-20 16:21:31 +02:00
2014-10-20 16:21:31 +02:00
2015-04-15 16:35:24 -07:00
2014-12-10 17:41:15 -08:00
2014-08-08 15:57:19 -07:00
2014-04-03 16:21:23 -07:00
2015-04-17 09:04:02 -04:00
2014-04-03 16:21:17 -07:00
2014-10-20 16:21:31 +02:00
2014-10-20 16:21:31 +02:00
2015-06-25 01:13:36 +02:00
2015-04-17 09:04:02 -04:00
2014-10-20 16:21:31 +02:00
2014-10-20 16:21:31 +02:00
2015-04-17 09:04:02 -04:00
2013-07-03 16:07:56 -07:00
2015-04-17 09:04:02 -04:00
2015-06-19 20:03:20 +02:00
2015-04-17 09:03:59 -04:00
2015-06-25 01:13:38 +02:00
2013-07-03 16:07:56 -07:00
2014-10-20 16:21:31 +02:00
2015-06-19 20:03:20 +02:00
2015-04-17 09:04:02 -04:00
2015-06-19 20:03:21 +02:00
2013-11-13 12:09:27 +09:00
2015-02-16 17:56:02 -08:00
2015-02-16 17:56:02 -08:00
2014-10-20 16:21:31 +02:00
2014-11-21 12:00:00 -08:00
2014-10-20 16:21:31 +02:00
2014-10-20 16:21:31 +02:00
2014-10-20 16:21:31 +02:00
2015-04-17 09:04:02 -04:00
2013-07-03 16:07:56 -07:00
2013-07-03 16:07:57 -07:00
2014-10-20 16:21:31 +02:00
2014-10-20 16:21:31 +02:00
2014-10-20 16:21:31 +02:00
2015-06-25 01:13:36 +02:00
2013-07-03 16:07:57 -07:00
2014-10-20 16:21:31 +02:00
2014-10-20 16:21:31 +02:00
2015-04-17 09:04:02 -04:00
2015-06-25 01:13:36 +02:00
2015-06-25 01:13:37 +02:00
2015-06-25 01:13:37 +02:00
2015-06-25 01:13:35 +02:00
2014-06-06 16:08:08 -07:00
2014-10-20 16:21:31 +02:00
2014-10-20 16:21:31 +02:00
2015-04-15 16:35:24 -07:00
2015-04-17 09:04:02 -04:00
2015-06-25 01:13:36 +02:00
2014-10-20 16:21:31 +02:00
2015-06-19 20:03:20 +02:00
2014-10-20 16:21:31 +02:00
2015-04-17 09:04:02 -04:00
2015-04-17 09:04:02 -04:00
2014-10-20 16:21:31 +02:00
2014-10-20 16:21:31 +02:00
2015-02-13 21:21:42 -08:00
2014-01-23 16:37:00 -08:00
2014-05-06 13:04:58 -07:00
2015-04-17 09:03:59 -04:00
2014-10-14 02:18:17 +02:00
2013-04-29 18:28:38 -07:00
2014-08-08 15:57:20 -07:00
2013-11-13 12:09:31 +09:00
2013-11-13 12:09:31 +09:00
2014-11-03 19:53:56 -08:00
2013-04-09 14:13:32 -04:00
2014-10-20 16:21:31 +02:00
2014-10-20 16:21:31 +02:00
2014-06-06 16:08:09 -07:00
2013-04-29 18:28:34 -07:00
2014-10-20 16:21:31 +02:00
2015-02-13 21:21:43 -08:00
2014-10-20 16:21:31 +02:00
2014-10-20 16:21:31 +02:00
2013-11-13 12:09:29 +09:00
2014-10-14 02:18:19 +02:00
2014-04-03 16:21:24 -07:00
2013-07-03 16:07:58 -07:00
2014-04-03 16:21:18 -07:00
2014-01-23 16:37:00 -08:00
2015-06-19 20:03:20 +02:00
2013-04-19 13:51:25 +02:00
2015-04-17 09:04:11 -04:00
2013-04-29 18:28:38 -07:00
2014-06-06 16:08:09 -07:00
2014-10-20 16:21:31 +02:00
2014-12-14 16:10:09 -08:00
2015-06-25 01:13:38 +02:00
2014-04-03 16:21:18 -07:00
2014-10-20 16:21:31 +02:00
2014-10-20 16:21:31 +02:00
2015-04-17 09:03:59 -04:00
2014-10-20 16:21:31 +02:00
2014-09-19 12:39:19 +02:00
2014-10-20 16:21:31 +02:00
2013-07-29 13:10:58 -07:00
2015-04-15 16:35:24 -07:00
2015-04-03 08:18:24 +02:00
2014-10-20 16:21:31 +02:00
2014-10-20 16:21:31 +02:00
2014-10-20 16:21:31 +02:00
2014-10-20 16:21:31 +02:00
2015-04-17 09:04:02 -04:00
2014-10-20 16:21:31 +02:00
2015-06-25 01:13:38 +02:00
2014-10-20 16:21:31 +02:00
2014-10-20 16:21:31 +02:00
2013-07-03 16:07:59 -07:00
2013-04-29 18:28:32 -07:00
2015-04-17 09:03:59 -04:00
2014-10-20 16:21:31 +02:00
2015-04-03 08:18:24 +02:00