Akinobu Mita
dfc2532b55
rtc: ds3232: fix read on /dev/rtc after RTC_AIE_ON
...
The rtctest (tools/testing/selftests/timers/rtctest.c) found that
reading ds3232 rtc device immediately return the value 0x20 (RTC_AF)
without waiting alarm interrupt.
This is because alarm_irq_enable() of ds3232 driver changes RTC_AF
flag in rtc->irq_data. So calling ioctl with RTC_AIE_ON generates
invalid value in rtc device.
The lower-level driver should not touch rtc->irq_data directly.
Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com >
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com >
2016-03-14 17:08:36 +01:00
..
2016-03-14 17:08:18 +01:00
2015-04-17 09:04:02 -04:00
2016-03-14 17:08:15 +01:00
2016-03-14 17:08:35 +01:00
2016-03-14 17:08:35 +01:00
2015-09-05 13:19:05 +02:00
2015-04-03 08:18:25 +02:00
2015-11-08 14:12:25 +01:00
2015-09-05 13:19:08 +02:00
2016-01-11 20:20:01 +01:00
2015-09-05 19:37:22 +02:00
2016-03-14 17:08:25 +01:00
2016-03-14 17:08:14 +01:00
2015-06-25 01:12:50 +02:00
2015-11-08 14:12:28 +01:00
2015-09-05 13:19:13 +02:00
2015-09-05 13:19:09 +02:00
2015-09-05 13:19:06 +02:00
2016-01-11 20:38:50 +01:00
2015-09-05 19:37:22 +02:00
2015-09-05 13:19:07 +02:00
2015-04-17 09:04:00 -04:00
2016-01-11 20:19:57 +01:00
2015-11-08 14:12:29 +01:00
2015-09-05 13:19:07 +02:00
2015-04-17 09:04:01 -04:00
2015-06-25 01:13:40 +02:00
2015-06-25 01:13:40 +02:00
2016-02-04 23:44:16 +01:00
2016-03-14 17:08:13 +01:00
2015-11-10 10:01:21 -08:00
2015-10-28 10:30:17 +09:00
2015-09-05 19:37:22 +02:00
2015-11-10 10:01:21 -08:00
2015-09-05 13:19:10 +02:00
2015-09-05 13:19:10 +02:00
2015-06-25 01:13:36 +02:00
2016-03-14 17:08:28 +01:00
2015-09-05 13:19:10 +02:00
2016-01-11 20:22:27 +01:00
2016-03-14 17:08:36 +01:00
2015-04-17 09:04:02 -04:00
2016-01-11 20:19:55 +01:00
2015-04-17 09:03:59 -04:00
2015-06-25 01:13:38 +02:00
2015-09-05 13:19:06 +02:00
2016-01-11 20:19:56 +01:00
2016-03-14 17:08:31 +01:00
2015-06-19 20:03:20 +02:00
2015-09-05 13:19:06 +02:00
2016-01-11 20:19:58 +01:00
2015-11-08 14:12:30 +01:00
2015-09-05 13:19:08 +02:00
2015-11-08 14:12:30 +01:00
2015-09-05 13:19:06 +02:00
2016-01-11 20:19:59 +01:00
2015-06-21 21:53:59 +02:00
2015-04-17 09:04:02 -04:00
2015-10-28 10:30:17 +09:00
2015-10-28 10:30:17 +09:00
2015-09-05 13:19:10 +02:00
2015-06-25 01:13:36 +02:00
2015-10-28 10:30:17 +09:00
2015-09-05 19:37:21 +02:00
2015-06-25 01:13:36 +02:00
2016-03-14 17:08:27 +01:00
2015-06-25 01:13:35 +02:00
2015-10-28 10:30:17 +09:00
2015-09-05 19:37:22 +02:00
2015-09-05 19:37:22 +02:00
2015-04-15 16:35:24 -07:00
2015-04-17 09:04:02 -04:00
2016-03-14 17:08:26 +01:00
2015-09-05 19:37:22 +02:00
2015-08-05 20:03:56 +08:00
2015-09-05 19:37:21 +02:00
2015-12-16 12:54:04 +11:00
2016-03-14 17:08:22 +01:00
2016-03-14 17:08:16 +01:00
2015-11-08 14:12:28 +01:00
2016-03-14 17:08:30 +01:00
2015-11-08 14:12:29 +01:00
2015-09-05 13:19:06 +02:00
2016-03-14 17:08:30 +01:00
2016-03-14 17:08:21 +01:00
2015-11-08 14:12:24 +01:00
2016-01-11 20:19:55 +01:00
2015-09-05 19:37:16 +02:00
2015-10-28 10:30:17 +09:00
2015-12-20 13:39:00 +01:00
2015-09-05 13:19:10 +02:00
2015-10-28 10:30:17 +09:00
2016-03-14 17:08:34 +01:00
2016-03-14 17:08:15 +01:00
2015-10-28 10:30:17 +09:00
2016-03-14 17:08:10 +01:00
2016-01-11 20:19:59 +01:00
2016-03-14 17:08:20 +01:00
2015-09-05 13:19:06 +02:00
2015-11-08 14:12:31 +01:00
2016-03-14 17:08:18 +01:00
2015-09-05 19:37:16 +02:00
2015-09-05 19:37:16 +02:00
2015-09-05 13:19:06 +02:00
2015-07-15 10:15:10 +08:00
2015-06-25 01:13:40 +02:00
2015-07-23 17:07:35 +01:00
2015-09-05 13:19:10 +02:00
2015-11-08 14:12:27 +01:00
2016-01-11 20:19:57 +01:00
2016-03-14 17:08:16 +01:00
2015-04-15 16:35:24 -07:00
2015-04-03 08:18:24 +02:00
2016-03-14 17:08:23 +01:00
2016-03-14 17:08:23 +01:00
2016-03-14 17:08:24 +01:00
2015-04-17 09:04:02 -04:00
2015-09-05 13:19:10 +02:00
2016-01-11 20:20:00 +01:00
2016-03-14 17:08:25 +01:00
2015-09-05 19:37:22 +02:00
2015-04-17 09:03:59 -04:00
2015-09-05 19:37:19 +02:00
2015-06-25 01:13:42 +02:00