diff options
author | John Stultz <john.stultz@linaro.org> | 2011-01-20 15:26:13 -0800 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2011-01-21 17:38:19 +0100 |
commit | d5553a556165535337ece8592f066407c62eec2e (patch) | |
tree | 2b9eaf6a5b9a4939f92cadedf6c797070107e7af /drivers/rtc/rtc-pcf8583.c | |
parent | aa0be0f4659f91f31e45adc422b1788cb36ffddc (diff) | |
download | linux-stable-d5553a556165535337ece8592f066407c62eec2e.tar.gz linux-stable-d5553a556165535337ece8592f066407c62eec2e.tar.bz2 linux-stable-d5553a556165535337ece8592f066407c62eec2e.zip |
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>
Diffstat (limited to 'drivers/rtc/rtc-pcf8583.c')
0 files changed, 0 insertions, 0 deletions