John Stultz d5553a5561 RTC: Properly handle rtc_read_alarm error propagation and fix bug
In reviewing cases where the virtualized interfaces didn't propagate
errors properly, I noticed rtc_read_alarm needed fixing. In doing
so I noticed my RTC rework dropped a memset and that the behavior
of rtc_read_alarm shouldn't be conditionalized on the alarm.enabled
flag (as the alarm may be set, but the irqs may be disabled). So
those were corrected as well.

CC: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: John Stultz <john.stultz@linaro.org>
LKML-Reference: <1295565973-14358-2-git-send-email-john.stultz@linaro.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
2011-01-21 17:38:19 +01:00
..
2010-11-11 11:34:27 +01:00
2010-11-11 11:34:27 +01:00
2009-09-23 07:39:46 -07:00
2009-02-11 14:25:36 -08:00
2011-01-13 08:03:12 -08:00
2009-02-05 12:56:46 -08:00
2009-09-23 07:39:43 -07:00
2009-04-01 08:59:24 -07:00
2009-09-23 07:39:43 -07:00
2011-01-14 12:38:16 +01:00
2009-04-02 01:05:32 +00:00
2009-09-23 07:39:43 -07:00
2010-08-11 08:59:08 -07:00
2010-12-22 19:43:34 -08:00
2010-11-08 15:08:42 +09:00
2008-11-21 01:24:38 -08:00
2008-11-14 16:37:54 -08:00
2009-12-16 07:20:00 -08:00