mirror of
https://github.com/OpenAMP/open-amp.git
synced 2026-03-23 11:32:31 +08:00
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:
committed by
Arnaud Pouliquen
parent
59e843f3ef
commit
62b2888111
@@ -292,6 +292,7 @@ int remoteproc_shutdown(struct remoteproc *rproc)
|
||||
ret = rproc->ops->shutdown(rproc);
|
||||
if (!ret) {
|
||||
rproc->state = RPROC_OFFLINE;
|
||||
rproc->bitmap = 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user