git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4559214
)
[CHAR] ds1286: Fix handling of seconds in RTC_ALM_SET ioctl.
author
Ralf Baechle
<ralf@linux-mips.org>
Thu, 8 Mar 2007 00:14:25 +0000
(
00:14
+0000)
committer
Ralf Baechle
<ralf@linux-mips.org>
Thu, 8 Mar 2007 01:10:30 +0000
(
01:10
+0000)
o Fix use of uninitialized variable sec.
o Make the RTC_ALM_SET ioctl return -EINVAL for non-zero seconds - the
DS1286 has no second field for the alarm time.
o Replace the obscure BIN_TO_BCD macro with BIN2BCD.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
No differences found