aboutsummaryrefslogtreecommitdiffstats
diff options
authorBjorn Andersson <andersson@kernel.org>2025-05-13 16:52:46 +0100
committerMathieu Poirier <mathieu.poirier@linaro.org>2025-05-15 13:09:05 -0600
commit46f7676c81533545f7e8e82e58880603f984cf0f (patch)
treed3c6828bd2038032eca168098da1b0ae5db750d0
parentb278981b5ac109e6f6986b20a5cb19654aba8f68 (diff)
downloadlinux-rproc-next.tar.gz
Revert "remoteproc: core: Clear table_sz when rproc_shutdown"rproc-next
Clearing the table_sz on cleanup seemed reasonable, but further discussions concluded that this merely working around the issue and that the fix is incomplete. As such, revert commit efdde3d73ab2 ("remoteproc: core: Clear table_sz when rproc_shutdown") to avoid carrying a partial fix. Signed-off-by: Bjorn Andersson <andersson@kernel.org> Link: https://lore.kernel.org/r/20250513-revert-rproc-table-sz-v1-1-a8c6b5d6f8a7@kernel.org Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
-rw-r--r--drivers/remoteproc/remoteproc_core.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/remoteproc/remoteproc_core.c b/drivers/remoteproc/remoteproc_core.c
index 48d146e1fa5603..81b2ccf988e852 100644
--- a/drivers/remoteproc/remoteproc_core.c
+++ b/drivers/remoteproc/remoteproc_core.c
@@ -2025,7 +2025,6 @@ int rproc_shutdown(struct rproc *rproc)
kfree(rproc->cached_table);
rproc->cached_table = NULL;
rproc->table_ptr = NULL;
- rproc->table_sz = 0;
out:
mutex_unlock(&rproc->lock);
return ret;