rtc: nvidia-vrs10: remove locking in IRQ handler
Subsystems (2)
[email protected]
maintainerPATCH 1/1 rtc: nvidia-vrs10: remove locking in IRQ handler
From: Alexandre Belloni <[email protected]>
Remove locking in the interrupt handler as it is not necessary to be locked while calling rtc_update_irq().
Signed-off-by Alexandre Belloni <[email protected]>
--- drivers/rtc/rtc-nvidia-vrs10.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-)
drivers/rtc/rtc-nvidia-vrs10.c +1 -4
@@ -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 )
Signature · 1 line
2.55.0
[email protected]
AI reviewSashiko has reviewed this patch and found no issues. It looks great!
Quoted 6 lines
From: Alexandre Belloni <[email protected]>
Remove locking in the interrupt handler as it is not necessary to be locked while calling
rtc_update_irq().Signed-off-by Alexandre Belloni <[email protected]>
Sashiko has reviewed this patch and found no issues. It looks great!
Signature · 1 line
Sashiko AI review · https://sashiko.dev/#/patchset/[email protected]?part=1