commit | edfc23f6f9fdbd7825d50ac1f380243cde19b679 | [log] [tgz] |
---|---|---|
author | Zenghui Yu <yuzenghui@huawei.com> | Wed Apr 08 19:43:52 2020 +0800 |
committer | Marc Zyngier <maz@kernel.org> | Fri Apr 17 08:59:27 2020 +0100 |
tree | 931c7529c8d3a05417f757109479016cf661b749 | |
parent | 8f3d9f354286745c751374f5f1fcafee6b3f3136 [diff] |
irqchip/mbigen: Free msi_desc on device teardown Using irq_domain_free_irqs_common() on the irqdomain free path will leave the MSI descriptor unfreed when platform devices get removed. Properly free it by MSI domain free function. Fixes: 9650c60ebfec0 ("irqchip/mbigen: Create irq domain for each mbigen device") Signed-off-by: Zenghui Yu <yuzenghui@huawei.com> Signed-off-by: Marc Zyngier <maz@kernel.org> Link: https://lore.kernel.org/r/20200408114352.1604-1-yuzenghui@huawei.com