Lothar Waßmann
28a0c88312
drivers/rtc/rtc-stmp3xxx.c: provide timeout for potentially endless loop polling a HW bit
...
It's always a bad idea to poll on HW bits without a timeout.
The i.MX28 RTC can be easily brought into a state in which the RTC is
not running (until after a power-on-reset) and thus the status bits
which are polled in the driver won't ever change.
This patch prevents the kernel from getting stuck in this case.
Signed-off-by: Lothar Waßmann <LW@KARO-electronics.de>
Acked-by: Wolfram Sang <wsa@the-dreams.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2013-08-13 17:57:48 -07:00
..
2013-07-03 16:08:00 -07:00
2012-10-06 03:05:04 +09:00
2013-07-03 16:08:00 -07:00
2013-07-03 16:08:01 -07:00
2013-07-03 16:08:01 -07:00
2013-07-03 16:07:46 -07:00
2013-07-03 16:07:48 -07:00
2013-07-03 16:07:54 -07:00
2013-07-03 16:07:59 -07:00
2013-07-03 16:07:49 -07:00
2013-07-03 16:07:49 -07:00
2013-04-05 09:36:53 -07:00
2013-07-03 16:07:49 -07:00
2013-07-03 16:07:54 -07:00
2013-07-03 16:07:49 -07:00
2013-07-03 16:07:55 -07:00
2013-07-03 16:07:54 -07:00
2013-07-03 16:08:00 -07:00
2013-07-03 16:07:55 -07:00
2007-05-08 11:15:18 -07:00
2013-07-03 16:07:59 -07:00
2013-07-03 16:07:54 -07:00
2013-07-03 16:07:50 -07:00
2013-02-21 17:22:29 -08:00
2013-07-03 16:07:53 -07:00
2013-07-03 16:08:00 -07:00
2013-07-03 16:07:56 -07:00
2013-07-03 16:07:59 -07:00
2013-07-03 16:07:46 -07:00
2013-07-03 16:07:54 -07:00
2013-07-03 16:07:46 -07:00
2013-07-03 16:07:56 -07:00
2013-07-03 16:07:47 -07:00
2013-04-29 18:28:25 -07:00
2013-07-03 16:07:56 -07:00
2013-04-29 18:28:25 -07:00
2013-04-29 18:28:37 -07:00
2013-04-29 18:28:36 -07:00
2013-07-03 16:07:56 -07:00
2013-07-03 16:07:56 -07:00
2013-07-03 16:07:56 -07:00
2013-07-03 16:07:50 -07:00
2013-07-03 16:07:56 -07:00
2013-07-03 16:07:57 -07:00
2013-07-03 16:07:54 -07:00
2013-04-29 18:28:25 -07:00
2013-02-05 20:38:49 +11:00
2013-07-03 16:07:59 -07:00
2013-07-03 16:07:55 -07:00
2011-08-26 17:26:35 -07:00
2013-07-03 16:07:53 -07:00
2013-07-03 16:07:50 -07:00
2013-07-03 16:07:53 -07:00
2013-07-03 16:07:47 -07:00
2013-07-03 16:07:56 -07:00
2013-07-03 16:07:57 -07:00
2013-07-03 16:07:59 -07:00
2013-07-03 16:07:55 -07:00
2013-07-03 16:07:53 -07:00
2013-07-03 16:07:57 -07:00
2013-07-03 16:07:57 -07:00
2013-07-03 16:07:57 -07:00
2013-07-03 16:07:53 -07:00
2013-07-03 16:07:57 -07:00
2013-07-10 11:10:27 -07:00
2013-07-03 16:07:57 -07:00
2013-07-03 16:07:51 -07:00
2013-07-03 16:07:59 -07:00
2013-01-03 15:57:02 -08:00
2013-07-03 16:07:53 -07:00
2013-04-29 18:28:26 -07:00
2013-07-03 16:07:51 -07:00
2013-07-03 16:07:53 -07:00
2013-07-03 16:08:00 -07:00
2013-07-03 16:08:00 -07:00
2013-07-03 16:07:51 -07:00
2013-07-03 16:08:00 -07:00
2013-07-03 16:08:00 -07:00
2013-07-03 16:07:57 -07:00
2013-07-03 16:07:59 -07:00
2013-07-03 16:07:59 -07:00
2013-04-29 18:28:38 -07:00
2012-03-23 17:36:29 -07:00
2013-05-24 16:22:52 -07:00
2013-07-03 16:07:55 -07:00
2013-04-09 14:13:32 -04:00
2013-07-03 16:07:58 -07:00
2013-07-03 16:07:52 -07:00
2013-07-03 16:07:55 -07:00
2013-04-29 18:28:34 -07:00
2013-07-03 16:07:55 -07:00
2013-07-03 16:07:52 -07:00
2013-07-03 16:07:58 -07:00
2013-07-03 16:07:58 -07:00
2013-05-07 18:38:26 -07:00
2013-07-03 16:07:58 -07:00
2013-07-03 16:07:58 -07:00
2013-07-03 16:07:55 -07:00
2013-07-03 16:07:58 -07:00
2013-07-03 16:07:51 -07:00
2013-04-19 13:51:25 +02:00
2013-04-29 18:28:38 -07:00
2013-07-03 16:07:51 -07:00
2013-07-03 16:07:55 -07:00
2013-07-03 16:08:01 -07:00
2013-07-03 16:07:58 -07:00
2013-07-03 16:07:52 -07:00
2013-07-03 16:07:58 -07:00
2013-04-29 18:28:27 -07:00
2013-08-13 17:57:48 -07:00
2013-07-03 16:07:58 -07:00
2013-07-03 16:07:54 -07:00
2013-05-18 11:57:07 +02:00
2013-04-29 18:28:31 -07:00
2013-07-03 16:07:53 -07:00
2013-06-12 16:29:45 -07:00
2013-04-29 18:28:33 -07:00
2013-07-03 16:07:58 -07:00
2013-07-31 14:41:03 -07:00
2013-04-29 18:28:27 -07:00
2013-07-03 16:07:48 -07:00
2013-07-03 16:07:54 -07:00
2013-07-03 16:07:52 -07:00
2013-07-03 16:07:59 -07:00
2013-04-29 18:28:32 -07:00
2013-07-03 16:07:48 -07:00
2013-01-15 18:16:06 -08:00