summaryrefslogtreecommitdiff
path: root/rust/helpers
diff options
context:
space:
mode:
authorJan Kiszka <jan.kiszka@siemens.com>2024-08-19 18:24:51 +0300
committerMathieu Poirier <mathieu.poirier@linaro.org>2024-08-28 18:48:35 +0300
commit9ab27eb5866ccbf57715cfdba4b03d57776092fb (patch)
tree07562c382ef71b17b82ffcda8f82e142e044cf55 /rust/helpers
parentff555fc5537db70fa75d0ca557d3a41e4c08b55c (diff)
downloadlinux-9ab27eb5866ccbf57715cfdba4b03d57776092fb.tar.xz
remoteproc: k3-r5: Fix error handling when power-up failed
By simply bailing out, the driver was violating its rule and internal assumptions that either both or no rproc should be initialized. E.g., this could cause the first core to be available but not the second one, leading to crashes on its shutdown later on while trying to dereference that second instance. Fixes: 61f6f68447ab ("remoteproc: k3-r5: Wait for core0 power-up before powering up core1") Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> Acked-by: Beleswar Padhi <b-padhi@ti.com> Cc: stable@vger.kernel.org Link: https://lore.kernel.org/r/9f481156-f220-4adf-b3d9-670871351e26@siemens.com Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Diffstat (limited to 'rust/helpers')
0 files changed, 0 insertions, 0 deletions