aboutsummaryrefslogtreecommitdiff
path: root/Documentation/w1
diff options
context:
space:
mode:
authorWerner Almesberger <werner@openmoko.org>2009-01-30 08:07:27 +0000
committerAndy Green <agreen@octopus.localdomain>2009-01-30 08:07:27 +0000
commit4caf79de95c26495e7cdc8204023d97598f887d2 (patch)
tree34d9ed4ca490000634dcba76284220458bf6846d /Documentation/w1
parent4d50ca098fbdf540c7308483405702855337afec (diff)
consider alrm->enable in pcf50633_rtc_set_alarm
Hi Balaji, Mickey mentioned to me that he had trouble with the RTC wakeup interrupt. I had a quick look at the problem and it seems that alrm->enable doesn't get propagated when setting the alarm time with RTC_WKALM_SET. Does something like my patch below look right ? We also don't handle alrm->pending, but I'm not sure if we have to. I tested this only very lightly since my current andy-tracking crashes in soc_suspend. If nobody else beats me to it, I'll have a look at it tomorrow. - Werner ---------------------------------- cut here ----------------------------------- According to Documentation/rtc.txt, RTC_WKALM_SET sets the alarm time and enables/disables the alarm. We implement RTC_WKALM_SET through pcf50633_rtc_set_alarm. The enabling/disabling part was missing. Signed-off-by: Werner Almesberger <werner@openmoko.org> Reported-by: Michael 'Mickey' Lauer <mickey@openmoko.org>
Diffstat (limited to 'Documentation/w1')
0 files changed, 0 insertions, 0 deletions