Mark Brown
9e3a4afd5a
rtc: fix handling of missing tm_year data when reading alarms
...
When fixing up invalid years rtc_read_alarm() was calling rtc_valid_tm()
as a boolean but rtc_valid_tm() returns zero on success or a negative
number if the time is not valid so the test was inverted.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Alessandro Zummo <a.zummo@towertech.it>
Cc: David Brownell <david-b@pacbell.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-11-06 15:41:17 -08:00
..
2008-11-06 15:41:17 -08:00
2008-10-23 10:20:15 -07:00
2008-10-22 01:19:38 +02:00
2008-07-02 11:05:01 +02:00
2008-10-20 08:52:41 -07:00
2008-08-07 09:55:48 +01:00
2008-08-20 15:40:30 -07:00
2008-10-20 08:52:41 -07:00
2008-10-20 08:52:42 -07:00
2008-11-01 09:49:46 -07:00
2008-10-20 08:52:41 -07:00
2008-10-16 11:32:38 -07:00
2008-10-20 09:13:34 -07:00
2008-10-20 08:52:42 -07:00
2008-10-20 08:52:42 -07:00
2008-10-16 11:21:39 -07:00
2008-10-20 08:52:42 -07:00
2008-10-20 08:52:41 -07:00
2008-10-16 11:21:40 -07:00
2008-10-20 08:52:41 -07:00
2008-10-30 11:38:47 -07:00
2008-08-07 09:55:48 +01:00
2008-10-20 08:52:41 -07:00
2008-10-20 08:52:41 -07:00
2008-09-02 19:21:40 -07:00
2008-10-20 08:52:41 -07:00
2008-10-20 08:52:41 -07:00
2008-10-16 11:32:38 -07:00
2008-10-29 15:35:24 -07:00
2008-10-20 08:52:41 -07:00
2008-10-20 08:52:41 -07:00
2008-10-20 08:52:41 -07:00
2008-10-20 08:52:41 -07:00
2008-10-10 16:32:30 +00:00
2008-10-20 08:52:41 -07:00
2008-10-20 08:52:41 -07:00
2008-10-16 11:21:39 -07:00
2008-10-16 11:21:39 -07:00
2008-06-06 11:29:13 -07:00
2008-04-29 08:06:22 -07:00
2008-10-20 08:52:41 -07:00
2008-10-20 08:52:41 -07:00
2008-10-20 08:52:41 -07:00
2008-10-20 08:52:41 -07:00
2008-10-30 11:38:47 -07:00
2008-10-20 08:52:41 -07:00
2008-08-07 09:55:48 +01:00
2008-10-20 09:13:34 -07:00
2008-08-29 14:16:52 -07:00
2008-10-20 08:52:42 -07:00
2008-08-29 14:16:50 -07:00
2008-04-28 08:58:17 -07:00
2008-04-28 08:58:16 -07:00
2008-10-22 01:19:38 +02:00
2008-10-20 08:52:41 -07:00
2008-10-16 16:52:06 +02:00
2008-10-20 08:52:41 -07:00