diff options
| author | Runyu Xiao <runyu.xiao@seu.edu.cn> | 2026-09-30 15:44:53 +0800 |
|---|---|---|
| committer | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2026-10-02 11:25:53 -0400 |
| commit | 25016fe8c1ed0fccae107bd629089139ffbafe08 (patch) | |
| tree | 2151889a6126ced5e39ef238b8d49648b05318a6 /scripts/Makefile.thinlto | |
| parent | 86ef0f58bdecdedb3a1240971c56d71b7e4ce3fc (diff) | |
Bluetooth: btintel_pcie: use managed IRQ teardown
The PCIe driver registers its MSI-X handlers with
devm_request_threaded_irq(), but remove() uses free_irq() directly. The
devres actions then retain registrations and attempt to release them again
during device cleanup.
Use devm_free_irq() for the remove path and for already registered vectors
when a later setup request fails. This removes the managed resource at the
same time as the IRQ is released and keeps MSI-X vector teardown ordered
after IRQ ownership is gone.
Fixes: c2b636b3f788 ("Bluetooth: btintel_pcie: Add support for PCIe transport")
Cc: stable@vger.kernel.org
Assisted-by: LLM
Signed-off-by: Runyu Xiao <runyu.xiao@seu.edu.cn>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
