Skip to content
Commit 17293d63 authored by Xiaofei Tan's avatar Xiaofei Tan Committed by Greg Kroah-Hartman
Browse files

rtc: cmos: Replace spin_lock_irqsave with spin_lock in hard IRQ



[ Upstream commit 6950d046 ]

It is redundant to do irqsave and irqrestore in hardIRQ context, where
it has been in a irq-disabled context.

Signed-off-by: default avatarXiaofei Tan <tanxiaofei@huawei.com>
Signed-off-by: default avatarAlexandre Belloni <alexandre.belloni@bootlin.com>
Link: https://lore.kernel.org/r/1612355981-6764-2-git-send-email-tanxiaofei@huawei.com


Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent acfd8ef6
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