]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0374f008956adca7ad32f207309ddfa2f14256d5
tree330485805aba14977660ea013128da40a3377c1e
parentca6b2ad02b056bb90d59c6a5135551e69863dbb4
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