diff mbox series

mtd: spi-nor: amend the rdsr dummy cycles documentation

Message ID 20220418112837.2792242-1-michael@walle.cc
State Accepted
Delegated to: Pratyush Yadav
Headers show
Series mtd: spi-nor: amend the rdsr dummy cycles documentation | expand

Commit Message

Michael Walle April 18, 2022, 11:28 a.m. UTC
The rdsr dummy cycles are only used by the 8d-8d-8d mode. Mention that
in the documentation.

Signed-off-by: Michael Walle <michael@walle.cc>
---
 drivers/mtd/spi-nor/core.h | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

Comments

Pratyush Yadav April 20, 2022, 6:03 a.m. UTC | #1
On 18/04/22 01:28PM, Michael Walle wrote:
> The rdsr dummy cycles are only used by the 8d-8d-8d mode. Mention that
> in the documentation.
> 
> Signed-off-by: Michael Walle <michael@walle.cc>

Reviewed-by: Pratyush Yadav <p.yadav@ti.com>
Pratyush Yadav May 2, 2022, 6:47 a.m. UTC | #2
On Mon, 18 Apr 2022 13:28:37 +0200, Michael Walle wrote:
> The rdsr dummy cycles are only used by the 8d-8d-8d mode. Mention that
> in the documentation.
> 
> 

Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git spi-nor/next, thanks!
[1/1] mtd: spi-nor: amend the rdsr dummy cycles documentation
      https://git.kernel.org/mtd/c/5ad784d990

--
Regards,
Pratyush Yadav
Texas Instruments Inc.
diff mbox series

Patch

diff --git a/drivers/mtd/spi-nor/core.h b/drivers/mtd/spi-nor/core.h
index e355457a8555..beb622ae2779 100644
--- a/drivers/mtd/spi-nor/core.h
+++ b/drivers/mtd/spi-nor/core.h
@@ -236,9 +236,10 @@  struct spi_nor_otp {
  * @writesize		Minimal writable flash unit size. Defaults to 1. Set to
  *			ECC unit size for ECC-ed flashes.
  * @page_size:		the page size of the SPI NOR flash memory.
- * @rdsr_dummy:		dummy cycles needed for Read Status Register command.
+ * @rdsr_dummy:		dummy cycles needed for Read Status Register command
+ *			in octal DTR mode.
  * @rdsr_addr_nbytes:	dummy address bytes needed for Read Status Register
- *			command.
+ *			command in octal DTR mode.
  * @hwcaps:		describes the read and page program hardware
  *			capabilities.
  * @reads:		read capabilities ordered by priority: the higher index