diff options
author | Jinjie Ruan <[email protected]> | 2024-09-09 15:31:40 +0800 |
---|---|---|
committer | Mark Brown <[email protected]> | 2024-09-09 12:57:33 +0100 |
commit | b787a33864121a565aeb0e88561bf6062a19f99c (patch) | |
tree | fae2e99999452b8bd8f78ed3cf956cef5ff012f4 /lib/crypto/mpi/mpi-cmp.c | |
parent | 89e362c883c65ff94b76b9862285f63545fb5274 (diff) |
spi: geni-qcom: Fix incorrect free_irq() sequence
In spi_geni_remove(), the free_irq() sequence is different from that
on the probe error path. And the IRQ will still remain and it's interrupt
handler may use the dma channel after release dma channel and before free
irq, which is not secure, fix it.
Fixes: b59c122484ec ("spi: spi-geni-qcom: Add support for GPI dma")
Signed-off-by: Jinjie Ruan <[email protected]>
Reviewed-by: Dmitry Baryshkov <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'lib/crypto/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions