diff options
author | Tudor Ambarus <tudor.ambarus@microchip.com> | 2022-04-20 13:34:26 +0300 |
---|---|---|
committer | Pratyush Yadav <p.yadav@ti.com> | 2022-04-27 14:57:36 +0530 |
commit | 467f0e83818aebd3a4c81952f37c2734a7262fb2 (patch) | |
tree | 067440f0b4dcd73205f4e299bc8b899b4ff89ff5 /drivers/mtd/spi-nor | |
parent | c0abb861c5d040ae2d55832829f4bf0c5aab6daa (diff) | |
download | linux-467f0e83818aebd3a4c81952f37c2734a7262fb2.tar.gz |
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
Diffstat (limited to 'drivers/mtd/spi-nor')
-rw-r--r-- | drivers/mtd/spi-nor/spansion.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/mtd/spi-nor/spansion.c b/drivers/mtd/spi-nor/spansion.c index 7404ca067ca9..43cd6cd92537 100644 --- a/drivers/mtd/spi-nor/spansion.c +++ b/drivers/mtd/spi-nor/spansion.c @@ -57,10 +57,6 @@ static int cypress_nor_octal_dtr_en(struct spi_nor *nor) if (ret) return ret; - ret = spi_nor_wait_till_ready(nor); - if (ret) - return ret; - nor->read_dummy = 24; /* Set the octal and DTR enable bits. */ |