aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorJarkko Nikula <[email protected]>2020-02-13 17:15:03 +0200
committerWolfram Sang <[email protected]>2020-03-10 10:33:52 +0100
commit9be8bc4dd6177cf992b93b0bd014c4f611283896 (patch)
tree4944934e47fbebf82864a29c6571a6105be31810 /tools/perf/scripts/python/stackcollapse.py
parent04bbb97d1b732b2d197f103c5818f5c214a4cf81 (diff)
i2c: designware-pci: Fix BUG_ON during device removal
Function i2c_dw_pci_remove() -> pci_free_irq_vectors() -> pci_disable_msi() -> free_msi_irqs() will throw a BUG_ON() for MSI enabled device since the driver has not released the requested IRQ before calling the pci_free_irq_vectors(). Here driver requests an IRQ using devm_request_irq() but automatic release happens only after remove callback. Fix this by explicitly freeing the IRQ before calling pci_free_irq_vectors(). Fixes: 21aa3983d619 ("i2c: designware-pci: Switch over to MSI interrupts") Cc: [email protected] # v5.4+ Signed-off-by: Jarkko Nikula <[email protected]> Reviewed-by: Andy Shevchenko <[email protected]> Signed-off-by: Wolfram Sang <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions