mirror of
https://github.com/torvalds/linux.git
synced 2026-11-07 06:17:02 +01:00
rtc: nvidia-vrs10: remove locking in IRQ handler
Remove locking in the interrupt handler as it is not necessary to be locked while calling rtc_update_irq(). Link: https://patch.msgid.link/20261009212347.490403-1-alexandre.belloni@bootlin.com Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
This commit is contained in:
parent
22b9306f1f
commit
e7124bcceb
|
|
@ -358,11 +358,8 @@ static irqreturn_t nvvrs_rtc_irq_handler(int irq, void *data)
|
|||
if (ret < 0)
|
||||
return IRQ_NONE;
|
||||
|
||||
if (ret & NVVRS_INT_SRC1_RTC_MASK) {
|
||||
rtc_lock(info->rtc);
|
||||
if (ret & NVVRS_INT_SRC1_RTC_MASK)
|
||||
rtc_update_irq(info->rtc, 1, RTC_IRQF | RTC_AF);
|
||||
rtc_unlock(info->rtc);
|
||||
}
|
||||
|
||||
/* Clear all interrupts */
|
||||
if (nvvrs_pseq_irq_clear(info) < 0)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user