Skip to contentSkip to conversation

mtd: rawnand: Add deassert_wp comment

PATCH Superseded dregan 2 participants 3 messages Dec 1, 2023

Subsystems (3)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore

dregan

author
#0 lore raw

PATCH 1/1 mtd: rawnand: Add deassert_wp comment

From: Boris Brezillon <[email protected]>

Add deassert_wp description comment

---
 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
#1 lore raw
Quoted 1 line · On Fri, 1 Dec 2023 10:15:42 -0800 dregan <[email protected]> wrote:

From: Boris Brezillon <[email protected]>

I'm pretty sure I shouldn't be the author. The original patch might have been partly written by me, but this is a fixup on top of it.

Quoted 4 lines

Add deassert_wp description comment

and you should drop my SoB too.

Quoted 18 lines
---
 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
  *
#2 lore raw

I'm sorry my mistake, I had originally missed this comment which came from here:
https://github.com/bbrezillon/linux/commit/e612e1f2c69a33ac5f2c91d13669f0f172d58717

Quoted 35 lines · Boris Brezillon
Quoted 1 line · On Fri, 1 Dec 2023 10:15:42 -0800 dregan <[email protected]> wrote:

From: Boris Brezillon <[email protected]>

I'm pretty sure I shouldn't be the author. The original patch might have been partly written by me, but this is a fixup on top of it.

Quoted 4 lines

Add deassert_wp description comment

and you should drop my SoB too.

Quoted 18 lines
---
 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
  *