diff options
| author | Anup Vishwakarma <anup.vishwakarma@oss.qualcomm.com> | 2026-10-06 16:29:13 +0530 |
|---|---|---|
| committer | Jassi Brar <jassisinghbrar@gmail.com> | 2026-10-11 19:39:45 -0500 |
| commit | da988ac6afe152f802140ccaa0ad5e8f675b8814 (patch) | |
| tree | b630d470d4538ae30728e37d96d79382e70dd536 /tools/perf/scripts/python/task-analyzer.py | |
| parent | cf4ff9615077a73ed2de5d85cd5351d291a51ab0 (diff) | |
mailbox: qcom-ipcc: Remove redundant mbox_controller_unregister() on probe failure
qcom_ipcc_probe() registers the mailbox controller via
devm_mbox_controller_register(), which automatically calls
mbox_controller_unregister() through devres when the device is removed
or probe fails. If devm_request_irq() subsequently fails, the
err_req_irq: label also manually calls mbox_controller_unregister(),
resulting in a double call that corrupts the global mailbox controller
list and causes a kernel panic.
Remove the redundant manual call and rely on devres for cleanup.
Fixes: e9d50e4b4d04 ("mailbox: qcom-ipcc: Dynamic alloc for channel arrangement")
Signed-off-by: Anup Vishwakarma <anup.vishwakarma@oss.qualcomm.com>
Reviewed-by: Mukesh Ojha <mukesh.ojha@oss.qualcomm.com>
Signed-off-by: Jassi Brar <jassisinghbrar@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions
