diff options
author | Haavard Skinnemoen <haavard.skinnemoen@atmel.com> | 2008-06-13 00:21:38 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-06-13 03:05:40 +0200 |
commit | 529a4f4ec90ffd9394fdfc22bea7a858ae343171 (patch) | |
tree | b73ef0d578f67a63113e57871e465b9e4bae17e3 /arch/um/os-Linux/sys-i386 | |
parent | m68knommu: init coldfire timer TRR with n - 1, not n (diff) | |
download | linux-529a4f4ec90ffd9394fdfc22bea7a858ae343171.tar.xz linux-529a4f4ec90ffd9394fdfc22bea7a858ae343171.zip |
rtc-at32ap700x: fix bug in at32_rtc_readalarm()
alarm->pending indicates whether there's an alarm that has actually been
triggered, not whether we're waiting for it. alarm->enabled indicates
that.
Also add missing locking around reading the RTC registers.
Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
Signed-off-by: Alessandro Zummo <a.zummo@towertech.it>
Cc: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
Cc: David Brownell <david-b@pacbell.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/um/os-Linux/sys-i386')
0 files changed, 0 insertions, 0 deletions