Skip to content
Commit 98b35b2b authored by Nikita Shubin's avatar Nikita Shubin Committed by Greg Kroah-Hartman
Browse files

dmaengine: ioatdma: Fix error path in ioat3_dma_probe()

[ Upstream commit f0dc9fda ]

Make sure we are disabling interrupts and destroying DMA pool if
pcie_capability_read/write_word() call failed.

Fixes: 511deae0

 ("dmaengine: ioatdma: disable relaxed ordering for ioatdma")
Signed-off-by: default avatarNikita Shubin <n.shubin@yadro.com>
Reviewed-by: default avatarDave Jiang <dave.jiang@intel.com>
Link: https://lore.kernel.org/r/20240528-ioatdma-fixes-v2-2-a9f2fbe26ab1@yadro.com
Signed-off-by: default avatarVinod Koul <vkoul@kernel.org>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent d7f4e58f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment