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

From: Bhaumik Bhatt
Date: Thu Feb 04 2021 - 15:27:47 EST


On 2021-01-21 06:50 AM, Manivannan Sadhasivam wrote:
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
I will be dropping this patch in upcoming v6 series.

Thanks,
Bhaumik
---
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project