Thread (15 messages) 15 messages, 7 authors, 2025-07-14

Re: [PATCH v13 1/7] mfd: Add core driver for Nuvoton NCT6694

From: Markus Elfring <hidden>
Date: 2025-06-28 12:31:07
Also in: linux-can, linux-gpio, linux-hwmon, linux-i2c, linux-rtc, linux-usb, linux-watchdog, lkml

quoted hunk ↗ jump to hunk
+++ b/drivers/mfd/nct6694.c
@@ -0,0 +1,390 @@
static void nct6694_irq_enable(struct irq_data *data)
+{
+	spin_lock_irqsave(&nct6694->irq_lock, flags);
+	nct6694->irq_enable |= BIT(hwirq);
+	spin_unlock_irqrestore(&nct6694->irq_lock, flags);
+}
…

Will development interests grow to apply a statement
like “guard(spinlock_irqsave)(&nct6694->irq_lock);”?
https://elixir.bootlin.com/linux/v6.16-rc3/source/include/linux/spinlock.h#L585-L588

Regards,
Markus
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help