diff options
| author | Pengpeng Hou <pengpeng@iscas.ac.cn> | 2026-06-16 08:47:41 +0800 |
|---|---|---|
| committer | Nishanth Menon <nm@ti.com> | 2026-06-29 11:55:01 -0500 |
| commit | f52ddaf5e771c753663a719834848fde92b219f8 (patch) | |
| tree | bc52becb7ed6c553658b9025af25db6fc87347f7 /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | dc59e4fea9d83f03bad6bddf3fa2e52491777482 (diff) | |
firmware: ti_sci: Undo list publication on populate failure
ti_sci_probe() publishes the controller on the global ti_sci_list
before creating child devices. If of_platform_populate() fails
after creating some children, the probe error path leaves the
children around and leaves the failed controller visible through
ti_sci_get_handle().
Depopulate any children created by the failed populate call and remove
the controller from the global list before returning the probe error.
Signed-off-by: Pengpeng Hou <pengpeng@iscas.ac.cn>
Link: https://patch.msgid.link/20260616004741.1726-1-pengpeng@iscas.ac.cn
Signed-off-by: Nishanth Menon <nm@ti.com>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions
