[PATCH] consider alrm->enable in pcf50633_rtc_set_alarm

Andy Green andy at openmoko.com
Fri Jan 30 09:07:40 CET 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Somebody in the thread at some point said:
| On Thu, Jan 29, 2009 at 08:59:49PM -0200, Werner Almesberger wrote:
|> 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.
|>
|
| Yes, looks perfect! About alrm->pending, we should be setting it in
| read_alarm. But we there's no way to know this from the registers, right ?
|
| Thanks for the patch. Andy can you please apply it to andy-tracking ?

Done; thanks for the patch Werner.

- -Andy

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iEYEARECAAYFAkmCtUwACgkQOjLpvpq7dMrE5ACfV9qf73xeowtyMTozNpXEF/Sx
WXQAn3Yy6N4PrxDOT5SZ5OUQ7K+Q2P1Y
=VMvJ
-----END PGP SIGNATURE-----



More information about the openmoko-kernel mailing list