diff options
author | Jan Kardell <jan.kardell@telliq.com> | 2014-12-11 02:53:46 +0300 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-12-11 04:41:15 +0300 |
commit | a45d528aab8bcde68476b99403311422c91dc20a (patch) | |
tree | a571537cb102aa6b803d69fe4ddd4711ac1a4056 /drivers/rtc/rtc-sirfsoc.c | |
parent | ff0bc5013aca55004034bb366232f8d2b5c6763c (diff) | |
download | linux-a45d528aab8bcde68476b99403311422c91dc20a.tar.xz |
rtc: pcf8563: clear expired alarm at boot time
In case the card is woken up of the rtc alarm, the
devm_rtc_device_register function detects it as a pending alarm about a
month in the future. Fix this by clearing the alarm in module probe.
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>
Diffstat (limited to 'drivers/rtc/rtc-sirfsoc.c')
0 files changed, 0 insertions, 0 deletions