From: alexandre.belloni@bootlin.com
To: Shubhi Garg <shgarg@nvidia.com>,
Alexandre Belloni <alexandre.belloni@bootlin.com>
Cc: linux-tegra@vger.kernel.org, linux-rtc@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: [PATCH] rtc: nvidia-vrs10: remove locking in IRQ handler
Date: Fri, 9 Oct 2026 23:23:47 +0200 [thread overview]
Message-ID: <20261009212347.490403-1-alexandre.belloni@bootlin.com> (raw)
From: Alexandre Belloni <alexandre.belloni@bootlin.com>
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@bootlin.com>
---
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
next reply other threads:[~2026-10-09 21:24 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-09 21:23 alexandre.belloni [this message]
2026-10-09 21:33 ` [PATCH] rtc: nvidia-vrs10: remove locking in IRQ handler sashiko-bot
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261009212347.490403-1-alexandre.belloni@bootlin.com \
--to=alexandre.belloni@bootlin.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-rtc@vger.kernel.org \
--cc=linux-tegra@vger.kernel.org \
--cc=shgarg@nvidia.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.