diff options
| author | Menachem Adin <menachem.adin@intel.com> | 2026-08-27 08:11:56 +0300 |
|---|---|---|
| committer | Miquel Raynal <miquel.raynal@bootlin.com> | 2026-09-04 20:32:21 +0200 |
| commit | 200c32e3cd53132fbf99f1e2a5751f556755cf6d (patch) | |
| tree | 85ddcb1cbf8430bb06d44f2418247d6e8db49f8f /include/linux | |
| parent | 39b975ff208610301bc400460ec245caeffa4ee0 (diff) | |
mtd: mtd_intel_dg: reset poll counter for each erase
The non-posted erase polling counter is initialized only once per MTD
erase request. Large requests therefore share the polling budget across
all 4K erase commands and can fail with -ETIME even though no individual
command timed out.
Reset the counter for each 4K erase command so every operation gets the
intended completion timeout.
Cc: stable@vger.kernel.org
Fixes: a1c940cbf505 ("drm/xe/nvm: add support for non-posted erase")
Signed-off-by: Menachem Adin <menachem.adin@intel.com>
Signed-off-by: Alexander Usyskin <alexander.usyskin@intel.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
