commit | 898aa5ce6158c5ccfc256bfc17963bc81981eef8 | [log] [tgz] |
---|---|---|
author | Marc Zyngier <maz@kernel.org> | Fri Nov 08 16:57:55 2019 +0000 |
committer | Marc Zyngier <maz@kernel.org> | Sun Nov 10 18:47:50 2019 +0000 |
tree | 9f9746961519fce0552e8eb5f13927167a1009de | |
parent | bf93b04cd85d74c34335e76882cf8bf206caab6e [diff] |
irqchip/gic-v3-its: Free collection mapping on device teardown We allocate the collection mapping on device creation, but somehow free it on the irqdomain free path, which is pretty inconsistent and has led to bugs in the past. Move it to the point where we teardown the device, making the alloc/free symetric. Signed-off-by: Marc Zyngier <maz@kernel.org> Reviewed-by: Zenghui Yu <yuzenghui@huawei.com> Link: https://lore.kernel.org/r/20191108165805.3071-2-maz@kernel.org