diff options
| author | Pengpeng Hou <pengpeng@iscas.ac.cn> | 2026-06-15 15:01:23 +0800 |
|---|---|---|
| committer | Vinod Koul <vkoul@kernel.org> | 2026-09-15 11:55:54 +0530 |
| commit | 21cddea2dd1f1b32f0800c119d98375533ca17e4 (patch) | |
| tree | 9f42a6d439acd0f9cfda438f5b389fee024d96f3 /tools/perf/scripts/python/stackcollapse.py | |
| parent | 9e92152cd3d64a6d1e2984f632d8d70d6fc82bfd (diff) | |
| download | linux-next-21cddea2dd1f1b32f0800c119d98375533ca17e4.tar.gz linux-next-21cddea2dd1f1b32f0800c119d98375533ca17e4.zip | |
phy: broadcom: brcm-usb: unwind late probe failures
brcm_usb_phy_probe() registers a PM notifier and may create a sysfs group
before registering the OF PHY provider. If provider registration fails,
probe returns the error with those resources still active.
Track which optional resources were installed and remove them on the late
provider-registration failure path. Use the same state in remove() so
cleanup matches probe progress.
Signed-off-by: Pengpeng Hou <pengpeng@iscas.ac.cn>
Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@oss.qualcomm.com>
Reviewed-by: Justin Chen <justin.chen@broadcom.com>
Link: https://patch.msgid.link/20260615070123.51155-1-pengpeng@iscas.ac.cn
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
