]> git.baikalelectronics.ru Git - kernel.git/commit
rtc: pcf8563: handle consequeces of lacking second alarm reg
authorJan Kardell <jan.kardell@telliq.com>
Wed, 10 Dec 2014 23:53:40 +0000 (15:53 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 11 Dec 2014 01:41:15 +0000 (17:41 -0800)
commit1829949ba5882987439b2237a90b82f58c1cb315
treecd2391d1617e51469983acee7c62270819a2a1a4
parent415c0f84021fe57044c60efa4d0b8e74014f190b
rtc: pcf8563: handle consequeces of lacking second alarm reg

To guarantee that a set alarm occurs in the future, the set alarm time
is rounded up to the nearest minute.  Also we cannot handle UIE as it
requires second precision.

Signed-off-by: Jan Kardell <jan.kardell@telliq.com>
Cc: Alessandro Zummo <a.zummo@towertech.it>
Cc: Grant Likely <grant.likely@linaro.org>
Cc: Rob Herring <robh+dt@kernel.org>
Cc: Vincent Donnefort <vdonnefort@gmail.com>
Cc: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/rtc/rtc-pcf8563.c