public inbox for stable@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] regmap: irq: Correct documentation of wake_invert flag
@ 2025-10-24  8:23 Shawn Guo
  2025-10-24 13:11 ` Mark Brown
  2025-10-28 17:25 ` Mark Brown
  0 siblings, 2 replies; 4+ messages in thread
From: Shawn Guo @ 2025-10-24  8:23 UTC (permalink / raw)
  To: Mark Brown; +Cc: Philipp Zabel, linux-kernel, Shawn Guo, stable

From: Shawn Guo <shawnguo@kernel.org>

Per commit 9442490a0286 ("regmap: irq: Support wake IRQ mask inversion")
the wake_invert flag is to support enable register, so cleared bits are
wake disabled.

Fixes: 68622bdfefb9 ("regmap: irq: document mask/wake_invert flags")
Cc: stable@vger.kernel.org
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
---
 include/linux/regmap.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/linux/regmap.h b/include/linux/regmap.h
index 4e1ac1fbcec4..55343795644b 100644
--- a/include/linux/regmap.h
+++ b/include/linux/regmap.h
@@ -1643,7 +1643,7 @@ struct regmap_irq_chip_data;
  * @status_invert: Inverted status register: cleared bits are active interrupts.
  * @status_is_level: Status register is actuall signal level: Xor status
  *		     register with previous value to get active interrupts.
- * @wake_invert: Inverted wake register: cleared bits are wake enabled.
+ * @wake_invert: Inverted wake register: cleared bits are wake disabled.
  * @type_in_mask: Use the mask registers for controlling irq type. Use this if
  *		  the hardware provides separate bits for rising/falling edge
  *		  or low/high level interrupts and they should be combined into
-- 
2.43.0


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2025-10-28 17:25 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-10-24  8:23 [PATCH] regmap: irq: Correct documentation of wake_invert flag Shawn Guo
2025-10-24 13:11 ` Mark Brown
2025-10-25  6:55   ` Shawn Guo
2025-10-28 17:25 ` Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox