Skip to content
Commit dcf257e9 authored by Thomas Gleixner's avatar Thomas Gleixner
Browse files

rtc: mc146818: Reduce spinlock section in mc146818_set_time()



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
parent 05a0302c
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment