summaryrefslogtreecommitdiff
path: root/drivers/bus/mhi
diff options
context:
space:
mode:
authorManivannan Sadhasivam <manivannan.sadhasivam@linaro.org>2023-12-14 09:33:28 +0300
committerManivannan Sadhasivam <manivannan.sadhasivam@linaro.org>2023-12-15 13:59:29 +0300
commit327ec5f70609cf00c6f961073c01857555c6a8eb (patch)
treefe766e684f60d866947c893cb43836c172985216 /drivers/bus/mhi
parent309ab14f70d137f708ca52e275dc9fd20d3e9147 (diff)
downloadlinux-327ec5f70609cf00c6f961073c01857555c6a8eb.tar.xz
PCI: epf-mhi: Fix the DMA data direction of dma_unmap_single()
In the error path of pci_epf_mhi_edma_write() function, the DMA data direction passed (DMA_FROM_DEVICE) doesn't match the actual direction used for the data transfer. Fix it by passing the correct one (DMA_TO_DEVICE). Fixes: 7b99aaaddabb ("PCI: epf-mhi: Add eDMA support") Reviewed-by: Krzysztof WilczyƄski <kw@linux.com> Link: https://lore.kernel.org/r/20231214063328.40657-1-manivannan.sadhasivam@linaro.org Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Diffstat (limited to 'drivers/bus/mhi')
0 files changed, 0 insertions, 0 deletions