Re: [PATCH v3 5/7] bus: mhi: core: Check execution environment for channel before issuing reset

From: Hemant Kumar
Date: Wed Dec 02 2020 - 19:56:47 EST




On 12/2/20 3:40 PM, Bhaumik Bhatt wrote:
A client can attempt to unprepare certain channels for transfer even
after the execution environment they are supposed to run in has changed.
In the event that happens, the device need not be notified of the reset
and the host can proceed with clean up for the channel context and
memory allocated for it on the host.

Signed-off-by: Bhaumik Bhatt <bbhatt@xxxxxxxxxxxxxx>

Reviewed-by: Hemant Kumar <hemantk@xxxxxxxxxxxxxx>
--
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project