dmaengine: qcom_hidma: Cleanup MSI handling
authorThomas Gleixner <tglx@linutronix.de>
Fri, 10 Dec 2021 22:19:37 +0000 (23:19 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 16 Dec 2021 21:16:42 +0000 (22:16 +0100)
commit1900c962e2dcfacec894558eb34971bdc9c67443
tree330485805aba14977660ea013128da40a3377c1e
parent89e0032ec201f76c86d6e3e6f94574dfb8e39b71
dmaengine: qcom_hidma: Cleanup MSI handling

There is no reason to walk the MSI descriptors to retrieve the interrupt
number for a device. Use msi_get_virq() instead.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Acked-by: Sinan Kaya <okaya@kernel.org>
Acked-by: Vinod Koul <vkoul@kernel.org>
Link: https://lore.kernel.org/r/20211210221815.329792721@linutronix.de
drivers/dma/qcom/hidma.c