From 62b28881119277b9d2f244b2314e18bde23c296e Mon Sep 17 00:00:00 2001 From: Li Zhiyuan Date: Fri, 13 Feb 2026 13:49:14 +0800 Subject: [PATCH] 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 --- lib/remoteproc/remoteproc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/remoteproc/remoteproc.c b/lib/remoteproc/remoteproc.c index 46a61b0..989d01c 100644 --- a/lib/remoteproc/remoteproc.c +++ b/lib/remoteproc/remoteproc.c @@ -292,6 +292,7 @@ int remoteproc_shutdown(struct remoteproc *rproc) ret = rproc->ops->shutdown(rproc); if (!ret) { rproc->state = RPROC_OFFLINE; + rproc->bitmap = 0; } } }