]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
bus: mhi: ep: Pass mhi_ep_buf_info struct to read/write APIs
authorManivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Thu, 17 Aug 2023 17:54:52 +0000 (23:24 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 25 Jan 2024 23:45:22 +0000 (15:45 -0800)
commit0ed2a7429a420a078dc4deb0ca5608b4bd0ca33a
treebbfa4ba66a939b6eda25ec78cc824fe3625e6f41
parent66aea64413c99628121c2d86cd587264a2588828
bus: mhi: ep: Pass mhi_ep_buf_info struct to read/write APIs

[ Upstream commit b08ded2ef2e98768d5ee5f71da8fe768b1f7774b ]

In the preparation of DMA async support, let's pass the parameters to
read_from_host() and write_to_host() APIs using mhi_ep_buf_info structure.

No functional change.

Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Stable-dep-of: 327ec5f70609 ("PCI: epf-mhi: Fix the DMA data direction of dma_unmap_single()")
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/bus/mhi/ep/main.c
drivers/bus/mhi/ep/ring.c
drivers/pci/endpoint/functions/pci-epf-mhi.c
include/linux/mhi_ep.h