Hyogi Gim
16682c86d2
drivers/rtc/interface.c: check the validation of rtc_time in __rtc_read_time
...
Some rtc devices always return '0' when rtc_class_ops.read_time is
called. So if rtc_time isn't verified in callback, rtc interface cannot
know whether rtc_time is valid.
Check rtc_time by using 'rtc_valid_tm' in '__rtc_read_time'. And add
the message for debugging.
Signed-off-by: Hyogi Gim <hyogi.gim@lge.com>
Cc: Alessandro Zummo <a.zummo@towertech.it>
Cc: John Stultz <john.stultz@linaro.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2014-12-10 17:41:13 -08:00
..
2014-11-21 12:00:00 -08:00
2014-12-10 17:41:13 -08:00
2014-12-08 18:29:20 +01:00
2014-10-14 02:18:19 +02:00
2013-11-13 12:09:28 +09:00
2014-06-06 16:08:07 -07:00
2013-07-03 16:07:54 -07:00
2013-07-03 16:07:59 -07:00
2014-04-03 16:21:22 -07:00
2014-04-03 16:21:17 -07:00
2014-06-06 16:08:08 -07:00
2014-11-13 16:08:01 +01:00
2014-07-30 13:53:28 +02:00
2014-06-06 16:08:08 -07:00
2014-10-29 16:33:14 -07:00
2013-07-03 16:07:54 -07:00
2014-10-14 02:18:19 +02:00
2014-04-03 16:21:18 -07:00
2014-06-06 16:08:07 -07:00
2014-04-03 16:21:24 -07:00
2014-07-28 08:09:25 +01:00
2014-04-03 16:21:18 -07: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
2014-04-03 16:21:16 -07:00
2014-10-14 02:18:18 +02:00
2014-08-08 15:57:19 -07:00
2014-04-03 16:21:23 -07:00
2013-07-03 16:07:46 -07:00
2014-04-03 16:21:17 -07:00
2014-04-03 16:21:24 -07:00
2014-04-03 16:21:24 -07:00
2014-04-03 16:21:16 -07:00
2014-08-08 15:57:19 -07:00
2013-11-13 12:09:29 +09:00
2014-04-03 16:21:22 -07:00
2013-07-03 16:07:56 -07:00
2014-08-08 15:57:19 -07:00
2014-10-03 22:15:56 +01:00
2013-07-03 16:07:56 -07:00
2013-11-13 12:09:29 +09:00
2013-07-03 16:07:56 -07:00
2013-07-03 16:07:57 -07:00
2013-11-15 09:32:21 +09:00
2014-06-06 16:08:08 -07:00
2014-04-03 16:21:16 -07:00
2013-11-13 12:09:27 +09:00
2014-10-14 02:18:17 +02:00
2014-06-06 16:08:07 -07:00
2014-04-03 16:21:19 -07:00
2014-11-21 12:00:00 -08:00
2013-07-03 16:07:53 -07:00
2014-04-03 16:21:18 -07:00
2013-07-03 16:07:53 -07:00
2014-06-06 16:08:07 -07:00
2013-07-03 16:07:56 -07:00
2013-07-03 16:07:57 -07:00
2013-07-16 16:06:00 +09:30
2013-11-13 12:09:29 +09:00
2013-11-13 12:09:29 +09:00
2013-11-13 12:09:27 +09:00
2013-07-03 16:07:57 -07:00
2014-01-23 16:37:00 -08: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
2014-10-14 02:18:19 +02:00
2014-10-14 02:18:19 +02:00
2014-04-03 16:21:23 -07:00
2014-06-06 16:08:08 -07:00
2014-04-03 16:21:17 -07:00
2014-10-14 02:18:17 +02:00
2013-11-13 12:09:27 +09:00
2013-07-03 16:07:53 -07:00
2014-06-06 16:08:08 -07:00
2014-01-23 16:36:59 -08:00
2014-04-03 16:21:17 -07:00
2014-06-06 16:08:09 -07:00
2014-06-06 16:08:08 -07:00
2013-07-03 16:07:51 -07:00
2013-11-13 12:09:29 +09:00
2014-01-23 16:37:00 -08:00
2014-05-06 13:04:58 -07:00
2014-10-14 02:18:19 +02: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-10-29 16:33:14 -07:00
2013-07-03 16:07:58 -07:00
2014-06-20 08:22:39 +08:00
2014-06-06 16:08:09 -07:00
2013-04-29 18:28:34 -07:00
2013-07-03 16:07:55 -07:00
2014-10-14 02:18:18 +02:00
2013-07-03 16:07:52 -07:00
2013-07-03 16:07:58 -07: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
2014-10-29 16:33:14 -07:00
2013-04-19 13:51:25 +02:00
2014-08-29 16:28:16 -07:00
2013-04-29 18:28:38 -07:00
2014-06-06 16:08:09 -07:00
2013-11-13 12:09:30 +09:00
2014-12-10 17:41:13 -08:00
2013-11-13 12:09:30 +09:00
2014-04-03 16:21:18 -07:00
2013-07-03 16:07:58 -07:00
2014-04-03 16:21:24 -07:00
2013-11-13 12:09:30 +09:00
2013-07-03 16:07:58 -07:00
2014-09-19 12:39:19 +02:00
2014-04-03 16:21:21 -07:00
2013-07-29 13:10:58 -07:00
2013-05-18 11:57:07 +02:00
2014-04-03 16:21:16 -07:00
2013-07-03 16:07:53 -07:00
2013-06-12 16:29:45 -07:00
2014-08-08 15:57:20 -07:00
2013-07-03 16:07:58 -07:00
2014-01-23 16:36:59 -08:00
2014-04-03 16:21:24 -07:00
2013-11-13 12:09:30 +09:00
2014-01-23 16:36:59 -08:00
2014-04-03 16:21:19 -07:00
2013-07-03 16:07:59 -07:00
2013-04-29 18:28:32 -07:00
2014-04-03 16:21:16 -07:00
2014-06-06 16:08:06 -07:00