Searched hist:f68d51bd8a7141ba84f06e6207197817398e7f3a (Results 1 – 1 of 1) sorted by relevance
/linux/drivers/remoteproc/ |
H A D | remoteproc_core.c | diff f68d51bd8a7141ba84f06e6207197817398e7f3a Fri Jul 27 03:15:35 CEST 2018 Suman Anna <s-anna@ti.com> 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>
|