Skip to content
Commit db44a944 authored by Thomas Gleixner's avatar Thomas Gleixner Committed by Greg Kroah-Hartman
Browse files

rtc: mc146818: Reduce spinlock section in mc146818_set_time()



[ Upstream commit dcf257e9 ]

No need to hold the lock and disable interrupts for doing math.

Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
Acked-by: default avatarAlexandre Belloni <alexandre.belloni@bootlin.com>
Link: https://lore.kernel.org/r/20201206220541.709243630@linutronix.de


Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 17293d63
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment