Re: [PATCH v5 5/9] bus: mhi: core: Add support to stop or start channel data transfers

From: Manivannan Sadhasivam
Date: Thu Jan 21 2021 - 09:52:24 EST


On Fri, Jan 08, 2021 at 12:54:53PM -0800, Bhaumik Bhatt wrote:
> Some MHI client drivers may want to request a pause or halt of
> data transfer activity on their channels. Support for this does
> not exist and must be introduced, wherein the channel context is
> not reset or cleared but only the STOP channel command is issued.
> This would need to be paired with an API that allows resuming the
> data transfer activity on channels by use of the START channel
> command. This API assumes that the context information is already
> setup. Enable this using two new APIs, mhi_start_transfer() and
> mhi_stop_transfer().
>

Do you have any user for these APIs? If not then please post it when one
is available.

Thanks,
Mani