remoteproc: clear bitmap in remoteproc_shutdown()

Clear the allocated bitmap in `remoteproc_shutdown()` to
prevent resource table parsing failures on repeated remoteproc
starts.

Signed-off-by: Li Zhiyuan <doitysf@hotmail.com>
This commit is contained in:
Li Zhiyuan
2026-02-13 13:49:14 +08:00
committed by Arnaud Pouliquen
parent 59e843f3ef
commit 62b2888111

View File

@@ -292,6 +292,7 @@ int remoteproc_shutdown(struct remoteproc *rproc)
ret = rproc->ops->shutdown(rproc);
if (!ret) {
rproc->state = RPROC_OFFLINE;
rproc->bitmap = 0;
}
}
}