diff mbox series

[v2,1/1] mtd: rawnand: Add deassert_wp comment

Message ID 20231201212446.189491-1-dregan@broadcom.com
State Accepted
Headers show
Series [v2,1/1] mtd: rawnand: Add deassert_wp comment | expand

Commit Message

David Regan Dec. 1, 2023, 9:24 p.m. UTC
From: David Regan <dregan@broadcom.com>

Add deassert_wp description comment

Signed-off-by: David Regan <dregan@broadcom.com>
---
Changes in v2: removed Boris Brezillon as author and SOB
---
 include/linux/mtd/rawnand.h | 2 ++
 1 file changed, 2 insertions(+)

Comments

Miquel Raynal Dec. 4, 2023, 7:39 a.m. UTC | #1
Hi David,

dregan@broadcom.com wrote on Fri,  1 Dec 2023 13:24:46 -0800:

> From: David Regan <dregan@broadcom.com>
> 
> Add deassert_wp description comment
> 
> Signed-off-by: David Regan <dregan@broadcom.com>

Thanks, I will probably squash it with the original commit.

Miquèl
Miquel Raynal Dec. 4, 2023, 10:52 a.m. UTC | #2
On Fri, 2023-12-01 at 21:24:46 UTC, dregan wrote:
> From: David Regan <dregan@broadcom.com>
> 
> Add deassert_wp description comment
> 
> Signed-off-by: David Regan <dregan@broadcom.com>

Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git nand/next, thanks.

Miquel
diff mbox series

Patch

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
  *