uboot-2025: nmbm: call poller in nmbm write op

This commit is contained in:
hanwckf
2025-08-29 20:10:43 +08:00
parent 922acf0911
commit 9a7ac6d6d4

View File

@@ -2670,8 +2670,6 @@ int nmbm_read_range(struct nmbm_instance *ni, uint64_t addr, size_t size,
while (sizeremain) {
WATCHDOG_RESET();
poller_call();
leading = off & ni->writesize_mask;
chunksize = ni->lower.writesize - leading;
if (chunksize > sizeremain)
@@ -2912,6 +2910,8 @@ int nmbm_write_range(struct nmbm_instance *ni, uint64_t addr, size_t size,
while (sizeremain) {
WATCHDOG_RESET();
poller_call();
leading = off & ni->writesize_mask;
chunksize = ni->lower.writesize - leading;
if (chunksize > sizeremain)