]> 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:40:08 +0000 (14:40 +0200)
commit9569e3589097ca9f5627ccca01bf04ef34994529
tree005931a26375768b333594f5e224a715c4cc7f88
parent2c86fafda7e2431adc16779c124926dcfd19a485
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