[PATCH 1/1] mtd: rawnand: Add deassert_wp comment

From: dregan
Date: Fri Dec 01 2023 - 13:16:09 EST


From: Boris Brezillon <bbrezillon@xxxxxxxxxx>

Add deassert_wp description comment

Signed-off-by: Boris Brezillon <bbrezillon@xxxxxxxxxx>
Signed-off-by: David Regan <dregan@xxxxxxxxxxxx>
---
include/linux/mtd/rawnand.h | 2 ++
1 file changed, 2 insertions(+)

diff --git a/include/linux/mtd/rawnand.h b/include/linux/mtd/rawnand.h
index fcad94aa0515..3049b05d8a20 100644
--- a/include/linux/mtd/rawnand.h
+++ b/include/linux/mtd/rawnand.h
@@ -1001,6 +1001,8 @@ struct nand_op_parser {
/**
* struct nand_operation - NAND operation descriptor
* @cs: the CS line to select for this NAND operation
+ * @deassert_wp: set to true when the operation requires the WP pin to be
+ * de-asserted (ERASE, PROG, ...)
* @instrs: array of instructions to execute
* @ninstrs: length of the @instrs array
*
--
2.37.3