https://github.com/torvalds/linux
Revision a45d528aab8bcde68476b99403311422c91dc20a authored by Jan Kardell on 10 December 2014, 23:53:46 UTC, committed by Linus Torvalds on 11 December 2014, 01:41:15 UTC
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>
1 parent ff0bc50
Raw File
Tip revision: a45d528aab8bcde68476b99403311422c91dc20a authored by Jan Kardell on 10 December 2014, 23:53:46 UTC
rtc: pcf8563: clear expired alarm at boot time
Tip revision: a45d528
Kconfig
#
# For a description of the syntax of this configuration file,
# see Documentation/kbuild/kconfig-language.txt.
#
mainmenu "Linux/$ARCH $KERNELVERSION Kernel Configuration"

config SRCARCH
	string
	option env="SRCARCH"

source "arch/$SRCARCH/Kconfig"
back to top