[PATCH] spi: spi-mem: Fix spi_controller_mem_ops kdoc
From: Miquel Raynal
Date: Fri Jun 12 2026 - 04:58:40 EST
The secondary_op_tmpl kdoc line has been removed accidentally, add it
back.
Reported-by: Michael Walle <mwalle@xxxxxxxxxx>
Closes: https://lore.kernel.org/linux-mtd/DJ56CDMRVFQ6.FOZRIQTF3VDW@xxxxxxxxxx/T/#u
Fixes: 38fbe4b3f66e ("spi: spi-mem: Add a no_cs_assertion capability")
Signed-off-by: Miquel Raynal <miquel.raynal@xxxxxxxxxxx>
---
The faulty patch has been applied in an immutable branch merged in
mtd/next and shared with the spi tree. This patch shall be applied on
top of it, it can definitely wait one or the other official PR. On my
side I will likely not be able to send my PR before Saturday 20.
---
include/linux/spi/spi-mem.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/linux/spi/spi-mem.h b/include/linux/spi/spi-mem.h
index 722abd9aee3c..f660bb2e9f85 100644
--- a/include/linux/spi/spi-mem.h
+++ b/include/linux/spi/spi-mem.h
@@ -385,6 +385,7 @@ struct spi_controller_mem_ops {
* @swap16: Supports swapping bytes on a 16 bit boundary when configured in
* Octal DTR
* @per_op_freq: Supports per operation frequency switching
+ * @secondary_op_tmpl: Supports leveraging a secondary memory operation template
* @no_cs_assertion: The controller may automatically deassert the CS if there
* is a pause in the transfer (eg. internal bus contention or
* DMA arbitration on an interconnect). Features such as NAND
---
base-commit: 4f2692a5383e4bdd43ae940cda012360f7217a2d
change-id: 20260612-perso-fix-no-cs-assertion-kdoc-b1f1e795990a
Best regards,
--
Miquel Raynal <miquel.raynal@xxxxxxxxxxx>