bus: mhi: ep: Add support for async DMA read operation
[ Upstream commit 2547beb0 ] As like the async DMA write operation, let's add support for async DMA read operation. In the async path, the data will be read from the transfer ring continuously and when the controller driver notifies the stack using the completion callback (mhi_ep_read_completion), then the client driver will be notified with the read data and the completion event will be sent to the host for the respective ring element (if requested by the host). Signed-off-by:Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> Stable-dep-of: c7d0b2db ("bus: mhi: ep: Do not allocate memory for MHI objects from DMA zone") Signed-off-by:
Sasha Levin <sashal@kernel.org>
Loading
Please sign in to comment