diff options
| author | Haotian Zhang <vulab@iscas.ac.cn> | 2025-11-18 20:15:00 +0800 |
|---|---|---|
| committer | Lee Jones <lee@kernel.org> | 2025-11-20 14:22:36 +0000 |
| commit | b4b1bd1f330fdd13706382be6c90ce9f58cee3f5 (patch) | |
| tree | 0e5272eab3c105f7b4ddda3f6649a51c7b99dcf6 /tools/lib/python/kdoc/kdoc_re.py | |
| parent | 9494cb237b490cecc8c5d97824692b82097141c3 (diff) | |
mfd: mt6397-irq: Fix missing irq_domain_remove() in error path
If devm_request_threaded_irq() fails after irq_domain_create_linear()
succeeds in mt6397_irq_init(), the function returns without removing
the created IRQ domain, leading to a resource leak.
Call irq_domain_remove() in the error path after a successful
irq_domain_create_linear() to properly release the IRQ domain.
Fixes: a4872e80ce7d ("mfd: mt6397: Extract IRQ related code from core driver")
Signed-off-by: Haotian Zhang <vulab@iscas.ac.cn>
Link: https://patch.msgid.link/20251118121500.605-1-vulab@iscas.ac.cn
Signed-off-by: Lee Jones <lee@kernel.org>
Diffstat (limited to 'tools/lib/python/kdoc/kdoc_re.py')
0 files changed, 0 insertions, 0 deletions
