Marcelo Roberto Jimenez
7decaa557a
ARM: 6454/1: sa1100: Fix for a nasty initialization bug in the RTSR.
...
This patch fixes a nasty initialization condition on the RTSR register.
Sometimes, bit 1 will wake up set, sometimes not. This can be seen
by checking the value of the RTSR by typing '$ cat /proc/driver/rtc',
which has been provided by the previous patch.
If this bit is set, the command '$ cat /dev/rtc0' will lock the system
in an endless interrupt routine calling loop.
This patch fixes the issue both at sa1100_rtc_probe(), where it avoids
a spurious interrupt from happening, and at sa1100_rtc_interrupt(),
which is the robust solution, though it does not avoid the first
spurious interrupt.
Signed-off-by: Marcelo Roberto Jimenez <mroberto@cpti.cetuc.puc-rio.br>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
2010-11-10 13:34:45 +00:00
..
2010-10-27 18:03:06 -07:00
2010-03-12 15:52:28 -08:00
2009-10-11 11:20:58 -07:00
2010-10-29 00:30:01 +02:00
2010-10-29 00:30:01 +02:00
2010-09-22 17:22:39 -07:00
2010-10-29 00:29:19 +02:00
2010-03-30 22:02:32 +09:00
2009-09-23 07:39:46 -07:00
2010-03-30 22:02:32 +09:00
2009-02-11 14:25:36 -08:00
2010-10-27 18:03:05 -07:00
2009-12-16 07:20:00 -08:00
2010-03-30 22:02:32 +09:00
2010-08-11 08:59:08 -07:00
2010-03-30 22:02:32 +09:00
2007-05-08 11:15:18 -07:00
2010-06-28 10:19:19 +10:00
2009-10-11 11:20:58 -07:00
2009-02-05 12:56:46 -08:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-05-25 08:07:08 -07:00
2010-05-21 09:37:31 -07:00
2010-06-29 15:29:31 -07:00
2010-06-03 11:33:58 +02:00
2010-03-30 22:02:32 +09:00
2010-05-21 09:37:31 -07:00
2010-05-21 09:37:31 -07:00
2009-01-06 15:59:25 -08:00
2010-05-21 09:37:31 -07:00
2010-10-27 18:03:06 -07:00
2009-09-23 07:39:43 -07:00
2009-04-01 08:59:24 -07:00
2010-03-30 22:02:32 +09:00
2010-08-11 08:59:07 -07:00
2009-04-02 01:05:31 +00:00
2010-08-11 08:59:07 -07:00
2010-05-25 08:07:08 -07:00
2010-08-11 08:59:08 -07:00
2010-10-27 18:03:06 -07:00
2009-04-01 08:59:24 -07:00
2010-10-27 18:03:05 -07:00
2010-10-22 10:52:56 -07:00
2009-09-23 07:39:43 -07:00
2010-03-30 22:02:32 +09:00
2010-08-11 08:59:07 -07:00
2010-08-11 08:59:07 -07:00
2010-08-11 08:59:07 -07:00
2009-09-23 07:39:43 -07:00
2010-03-30 22:02:32 +09:00
2010-10-29 00:29:06 +02:00
2010-10-29 00:30:01 +02:00
2010-08-06 09:25:50 -06:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-08-11 08:59:06 -07:00
2010-10-24 13:41:39 -07:00
2010-10-27 18:03:06 -07:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-08-11 08:59:06 -07:00
2009-12-16 07:19:58 -08:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-09-09 18:57:24 -07:00
2009-03-31 01:14:44 +04:00
2009-04-02 01:05:32 +00:00
2010-08-11 08:59:07 -07:00
2009-09-23 07:39:43 -07:00
2010-08-11 08:59:08 -07:00
2010-10-27 15:30:32 +09:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-07-19 11:21:26 +02:00
2010-07-27 14:32:06 -07:00
2010-10-27 18:03:06 -07:00
2010-06-03 11:33:58 +02:00
2010-11-10 13:34:45 +00:00
2010-03-30 22:02:32 +09:00
2008-11-21 01:24:38 -08:00
2010-05-21 09:37:31 -07:00
2010-03-30 22:02:32 +09:00
2008-11-14 16:37:54 -08:00
2010-03-12 15:52:28 -08:00
2009-06-19 16:46:05 -07:00
2010-03-06 11:26:47 -08:00
2010-05-21 09:37:31 -07:00
2010-03-30 22:02:32 +09:00
2009-12-16 07:20:00 -08:00
2010-05-25 08:07:08 -07:00
2010-03-07 22:16:56 +01:00
2009-12-16 07:20:00 -08:00