Re: [PATCH v1 2/6] bus: mhi: core: Set BHI and BHIe pointers to NULL in clean-up

From: Jeffrey Hugo
Date: Tue May 04 2021 - 13:26:12 EST


On 4/16/2021 12:47 PM, Bhaumik Bhatt wrote:
Set the BHI and BHIe pointers to NULL as part of clean-up. This
makes sure that stale pointers are not accessed after powering
MHI down.

Suggested-by: Hemant Kumar <hemantk@xxxxxxxxxxxxxx>
Signed-off-by: Bhaumik Bhatt <bbhatt@xxxxxxxxxxxxxx>
---

Reviewed-by: Jeffrey Hugo <quic_jhugo@xxxxxxxxxxx>