]> www.infradead.org Git - users/jedix/linux-maple.git/commit
dmaengine: ae4dma: Use the MSI count and its corresponding IRQ number
authorBasavaraj Natikar <Basavaraj.Natikar@amd.com>
Mon, 3 Feb 2025 16:25:10 +0000 (21:55 +0530)
committerVinod Koul <vkoul@kernel.org>
Mon, 10 Mar 2025 21:03:27 +0000 (02:33 +0530)
commitfeba04e6fdf4daccc83fc09d499a3e32c178edb4
treedfc00d2f4b44b568dd2d87588fbc534a8021eb54
parentb87c29c007e80f4737a056b3c5c21b5b5106b7f7
dmaengine: ae4dma: Use the MSI count and its corresponding IRQ number

Instead of using the defined maximum hardware queue, which can lead to
incorrect values if the counts mismatch, use the exact supported MSI
count and its corresponding IRQ number.

Fixes: 90a30e268d9b ("dmaengine: ae4dma: Add AMD ae4dma controller driver")
Signed-off-by: Basavaraj Natikar <Basavaraj.Natikar@amd.com>
Link: https://lore.kernel.org/r/20250203162511.911946-3-Basavaraj.Natikar@amd.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/amd/ae4dma/ae4dma-pci.c