[PATCH] rtc: nvidia-vrs10: remove locking in IRQ handler
From: alexandre . belloni
Date: Fri Oct 09 2026 - 17:24:15 EST
From: Alexandre Belloni <alexandre.belloni@xxxxxxxxxxx>
Remove locking in the interrupt handler as it is not necessary to be locked
while calling rtc_update_irq().
Signed-off-by: Alexandre Belloni <alexandre.belloni@xxxxxxxxxxx>
---
drivers/rtc/rtc-nvidia-vrs10.c | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/drivers/rtc/rtc-nvidia-vrs10.c b/drivers/rtc/rtc-nvidia-vrs10.c
index b15796698558..caac63f4e0fc 100644
--- a/drivers/rtc/rtc-nvidia-vrs10.c
+++ b/drivers/rtc/rtc-nvidia-vrs10.c
@@ -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)
--
2.55.0