PCI: epf-test: Use dmaengine_submit() to initiate DMA transfer
authorDamien Le Moal <dlemoal@kernel.org>
Sat, 15 Apr 2023 02:35:30 +0000 (11:35 +0900)
committerBjorn Helgaas <bhelgaas@google.com>
Fri, 23 Jun 2023 20:00:31 +0000 (15:00 -0500)
commit349d5c840a5d2608bc910261a176a6bd355fcc73
treefdb9a93f22cdd2175cbf4d2fd029e0be04aee718
parent933f31a2fe1f20e5b1ee065579f652cd1b317183
PCI: epf-test: Use dmaengine_submit() to initiate DMA transfer

Instead of an open coded call to the tx_submit() operation of struct
dma_async_tx_descriptor, use the helper function dmaengine_submit().
No functional change is introduced with this.

Link: https://lore.kernel.org/r/20230415023542.77601-6-dlemoal@kernel.org
Signed-off-by: Damien Le Moal <dlemoal@kernel.org>
Signed-off-by: Lorenzo Pieralisi <lpieralisi@kernel.org>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Manivannan Sadhasivam <mani@kernel.org>
drivers/pci/endpoint/functions/pci-epf-test.c