Re: [PATCH 6/6] bus: mhi: ep: Save channel state locally during suspend and resume

From: Jeffrey Hugo
Date: Thu Jan 05 2023 - 10:58:42 EST


On 12/28/2022 9:17 AM, Manivannan Sadhasivam wrote:
During suspend and resume, the channel state needs to be saved locally.
Otherwise, the endpoint may access the channels while they were being
suspended and causing access violations.

Fix it by saving the channel state locally during suspend and resume.

Cc: <stable@xxxxxxxxxxxxxxx> # 5.19
Fixes: e4b7b5f0f30a ("bus: mhi: ep: Add support for suspending and resuming channels")
Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@xxxxxxxxxx>

Reviewed-by: Jeffrey Hugo <quic_jhugo@xxxxxxxxxxx)