bus: mhi: ep: Add support for async DMA read operation
authorManivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Mon, 21 Aug 2023 11:23:24 +0000 (16:53 +0530)
committerManivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Fri, 15 Dec 2023 08:50:13 +0000 (14:20 +0530)
commit2547beb00ddb40e55b773970622421d978f71473
treee6c56fde5cf9dd52684140a7435c0d52eb3358db
parentee08acb58fe47fc3bc2c137965985cdb1df40b35
bus: mhi: ep: Add support for async DMA read operation

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>
drivers/bus/mhi/ep/main.c