Skip to content

Commit 467f0e8

Browse files
ambarusPratyush Yadav
authored andcommitted
mtd: spi-nor: spansion: Remove status polling on volatile registers write
Writing volatile registers are instant according to Cypress and do not need any status polling. Remove status polling on volatile registers write. Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com> Signed-off-by: Pratyush Yadav <p.yadav@ti.com> Reviewed-by: Michael Walle <michael@walle.cc> Link: https://lore.kernel.org/r/20220420103427.47867-11-tudor.ambarus@microchip.com
1 parent c0abb86 commit 467f0e8

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

drivers/mtd/spi-nor/spansion.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,6 @@ static int cypress_nor_octal_dtr_en(struct spi_nor *nor)
5757
if (ret)
5858
return ret;
5959

60-
ret = spi_nor_wait_till_ready(nor);
61-
if (ret)
62-
return ret;
63-
6460
nor->read_dummy = 24;
6561

6662
/* Set the octal and DTR enable bits. */

0 commit comments

Comments
 (0)