Re: [PATCH v3 2/7] bus: mhi: core: Allow channel to be disabled from stopped state

From: Hemant Kumar
Date: Wed Dec 02 2020 - 19:18:35 EST




On 12/2/20 3:40 PM, Bhaumik Bhatt wrote:
If a channel was explicitly stopped but not reset, allow it to
move to a disabled state so the channel context can be cleaned
up. As the channel remained in a stopped state, its context was
not reset and cleared, which needs to be done if a client driver
module is unloaded or a device crash occurs.

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