Commit a5dac50a authored by Qing Wang's avatar Qing Wang Committed by Greg Kroah-Hartman
Browse files

dmaengine: ioat: switch from 'pci_' to 'dma_' API



[ Upstream commit 0c5afef7 ]

The wrappers in include/linux/pci-dma-compat.h should go away.

pci_set_dma_mask()/pci_set_consistent_dma_mask() should be
replaced with dma_set_mask()/dma_set_coherent_mask(),
and use dma_set_mask_and_coherent() for both.

Signed-off-by: default avatarQing Wang <wangqing@vivo.com>
Link: https://lore.kernel.org/r/1633663733-47199-3-git-send-email-wangqing@vivo.com


Signed-off-by: default avatarVinod Koul <vkoul@kernel.org>
Stable-dep-of: 1b11b4ef ("dmaengine: ioatdma: Fix leaking on version mismatch")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 1b08bf5a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment