]> 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>
Thu, 29 May 2025 09:12:54 +0000 (11:12 +0200)
commit4cd02086b027aac8ead25d209161f6e491612753
treeb038ac1d6a0a5a7ba30517ec35ee873512da6fef
parent2df285dab00fa03a3ef939b6cb0d0d0aeb0791db
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