Commit 0a8b81cb authored by Bjorn Andersson's avatar Bjorn Andersson
Browse files

remoteproc: Reset table_ptr on stop

The installed resource table is no longer accessible after stopping the
remote, so update table_ptr to point to the local copy.
Reviewed-By: default avatarLoic Pallardy <>
Tested-By: default avatarLoic Pallardy <>
Signed-off-by: default avatarBjorn Andersson <>
parent 4f6fd5a0
......@@ -1000,6 +1000,9 @@ static int rproc_stop(struct rproc *rproc)
/* remove any subdevices for the remote processor */
/* the installed resource table is no longer accessible */
rproc->table_ptr = rproc->cached_table;
/* power off the remote processor */
ret = rproc->ops->stop(rproc);
if (ret) {
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment