diff options
author | Dragan Simic <[email protected]> | 2024-09-05 10:28:23 +0200 |
---|---|---|
committer | Vinod Koul <[email protected]> | 2024-10-07 11:53:16 +0530 |
commit | 595ad7a336bf21f9d111a033820cd95d70343bd1 (patch) | |
tree | 552018f1a14a1e76ebdb6a262d08d8342975077f /tools/perf/scripts/python/stackcollapse.py | |
parent | 449d2a523a0c3ca8f4c993b8e37795c2aa174da6 (diff) |
phy: phy-rockchip-inno-usb2: Handle failed extcon allocation better
Return the actual error code upon failure to allocate extcon device, instead
of hardcoding -ENOMEM. Use dev_err_probe() to also log appropriate messages,
which is fine because the containing function is used in the probe path.
Helped-by: Heiko Stubner <[email protected]>
Reviewed-by: Heiko Stuebner <[email protected]>
Signed-off-by: Dragan Simic <[email protected]>
Link: https://lore.kernel.org/r/cc4995aa3e569be6bc23ca126b41fba82d50eeee.1725524802.git.dsimic@manjaro.org
Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions