Re: [PATCH 3/6] bus: mhi: ep: Only send -ENOTCONN status if client driver is available

From: Jeffrey Hugo
Date: Wed Jan 04 2023 - 23:13:20 EST


On 12/28/2022 9:17 AM, Manivannan Sadhasivam wrote:
For the STOP and RESET commands, only send the channel disconnect status
-ENOTCONN if client driver is available. Otherwise, it will result in
null pointer dereference.

Cc: <stable@xxxxxxxxxxxxxxx> # 5.19
Fixes: e827569062a8 ("bus: mhi: ep: Add support for processing command rings")
Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@xxxxxxxxxx>

Reviewed-by: Jeffrey Hugo <quic_jhugo@xxxxxxxxxxx>