]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
rtc: ds1307: stop disabling alarms on probe
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Mon, 3 Mar 2025 22:37:44 +0000 (23:37 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 4 Jun 2025 12:37:58 +0000 (14:37 +0200)
commitcc29d05861d012974db3d94a9f8ce3ebaa1e2ad6
tree0b41ea7db6d8817f6595f54794972c5193b06b18
parentf7dd2a729049cda201570c7b09217175172c076f
rtc: ds1307: stop disabling alarms on probe

[ Upstream commit dcec12617ee61beed928e889607bf37e145bf86b ]

It is a bad practice to disable alarms on probe or remove as this will
prevent alarms across reboots.

Link: https://lore.kernel.org/r/20250303223744.1135672-1-alexandre.belloni@bootlin.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/rtc/rtc-ds1307.c