Michal Lenc 02aeb66644 mtd/w25q: add nxsig_usleep to busy waiting in w25qxxxjv_erase_sector()
Busy waiting in w25qxxxjv_erase_sector() was without nxsig_usleep and
was causing the entire system to freeze for significant amount of time
as sector erase takes some time.

This commit adds nxsig_usleep into busy waiting to prevent system lock.
Sleep is set to sector erase time based on W25Q series datasheet.

Signed-off-by: Michal Lenc <michallenc@seznam.cz>
2023-12-11 16:00:07 -03:00
..
2023-07-15 23:32:36 +08:00
2023-08-22 23:16:14 +08:00
2023-08-22 23:16:14 +08:00
2023-09-22 13:51:00 +08:00
2023-09-22 13:51:00 +08:00