]> www.infradead.org Git - users/hch/xfs.git/commit
dmaengine: amd: qdma: Remove using the private get and set dma_ops APIs
authorLizhi Hou <lizhi.hou@amd.com>
Wed, 18 Sep 2024 18:10:22 +0000 (11:10 -0700)
committerVinod Koul <vkoul@kernel.org>
Wed, 4 Dec 2024 12:57:32 +0000 (18:27 +0530)
commitdcbef0798eb825cd584f7a93f62bed63f7fbbfc9
tree73f9cdb1f788faf8e98245f191dd6230e574b029
parent8d55e8a16f019211163f1180fd9f9fbe05901900
dmaengine: amd: qdma: Remove using the private get and set dma_ops APIs

The get_dma_ops and set_dma_ops APIs were never for driver to use. Remove
these calls from QDMA driver. Instead, pass the DMA device pointer from the
qdma_platdata structure.

Fixes: 73d5fc92a11c ("dmaengine: amd: qdma: Add AMD QDMA driver")
Signed-off-by: Lizhi Hou <lizhi.hou@amd.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20240918181022.2155715-1-lizhi.hou@amd.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/amd/qdma/qdma.c
include/linux/platform_data/amd_qdma.h