diff options
author | Suman Anna <s-anna@ti.com> | 2018-07-27 04:15:35 +0300 |
---|---|---|
committer | Bjorn Andersson <bjorn.andersson@linaro.org> | 2018-07-31 07:11:43 +0300 |
commit | f68d51bd8a7141ba84f06e6207197817398e7f3a (patch) | |
tree | 4e16c31f95fcef27ec385050884856a4e4e3435d /drivers/remoteproc/Kconfig | |
parent | 7cbb540a3a68e4d4a8bef2d9451afb1635b5d2d3 (diff) | |
download | linux-f68d51bd8a7141ba84f06e6207197817398e7f3a.tar.xz |
remoteproc: Reset table_ptr in rproc_start() failure paths
Unwind the modified table_ptr and restore it to the local copy
upon any subsequent failures in the rproc_start() function. This
keeps the function to remain balanced on failures without the need
to balance any modified variables elsewhere.
While at this, do some minor cleanup of the extra lines between
the failure labels as well.
Signed-off-by: Suman Anna <s-anna@ti.com>
[bjorn: unconditionally set table_ptr to cached_table]
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Diffstat (limited to 'drivers/remoteproc/Kconfig')
0 files changed, 0 insertions, 0 deletions