From: John Stultz Date: Thu, 20 Jan 2011 23:26:13 +0000 (-0800) Subject: RTC: Properly handle rtc_read_alarm error propagation and fix bug X-Git-Tag: v2.6.38-rc3~69^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d5553a556165535337ece8592f066407c62eec2e;p=pandora-kernel.git 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 Signed-off-by: John Stultz LKML-Reference: <1295565973-14358-2-git-send-email-john.stultz@linaro.org> Signed-off-by: Thomas Gleixner --- Reading git-diff-tree failed