rtc: rtc-spear: replace spin_lock_irqsave by spin_lock in hard IRQ
authorTian Tao <tiantao6@hisilicon.com>
Mon, 15 Mar 2021 02:39:30 +0000 (10:39 +0800)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Fri, 16 Apr 2021 22:54:14 +0000 (00:54 +0200)
commit880f25d690150937e42a2e8b86c111aae8da6d08
tree90678f9f6be73a9a7540e7c7a03e56126dc593ff
parent8138c5f0318c69a878582d2140dac08e6a99880d
rtc: rtc-spear: replace spin_lock_irqsave by spin_lock in hard IRQ

The code has been in a irq-disabled context since it is hard IRQ. There
is no necessity to do it again.

Signed-off-by: Tian Tao <tiantao6@hisilicon.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Link: https://lore.kernel.org/r/1615775970-59070-1-git-send-email-tiantao6@hisilicon.com
drivers/rtc/rtc-spear.c