commit | 61302553a5a8ba85fb11ec95777277211609c4bb | [log] [tgz] |
---|---|---|
author | Patrice Chotard <patrice.chotard@foss.st.com> | Wed Jan 20 14:42:04 2021 +0100 |
committer | Patrice Chotard <patrice.chotard@foss.st.com> | Thu Mar 11 17:00:41 2021 +0100 |
tree | 2c01b5cf42d7e50c7d416de77be2048f2950252a | |
parent | f229666901a4eb3f55c3127360d6133941b21fdd [diff] |
mtd: spinand: Add WATCHDOG_RESET() in spinand_mtd_read/write() In case of big area read/write on spi nand, watchdog timeout may occurs. To fix that, add WATCHDOG_RESET() in spinand_mtd_read() and spinand_mtd_write() to ensure that watchdog is reset. Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com> Reviewed-by: Patrick Delaunay <patrick.delaunay@foss.st.com>