Skip to contentSkip to conversation

mtd: rawnand: Add deassert_wp comment

PATCH Applied dregan 2 participants 3 messages Dec 1, 2023 – Dec 4, 2023

Subsystems (3)
lore
Share & tools
lore

dregan

author
#0 lore raw

PATCH v2 1/1 mtd: rawnand: Add deassert_wp comment

From: David Regan <[email protected]>

Add deassert_wp description comment

---
Changes in v2: removed Boris Brezillon as author and SOB

---
 include/linux/mtd/rawnand.h | 2 ++
 1 file changed, 2 insertions(+)
include/linux/mtd/rawnand.h +2 -0
index fcad94aa0515..3049b05d8a20 100644
@@ -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
  *
Signature · 1 line
2.37.3