Re: [PATCH v2] bus: mhi: core: Improve debug messages for power up

From: Jeffrey Hugo
Date: Tue May 04 2021 - 13:16:30 EST


On 5/3/2021 2:00 PM, Bhaumik Bhatt wrote:
Improve error message to be more descriptive if a failure occurs
with an invalid power up execution environment. Additionally, add
a debug log to print the execution environment and MHI state
before a power up is attempted to confirm if the device is in an
expected state. This helps clarify reasons for power up failures
such as the device being found in a PBL or Emergency Download
Mode execution environment and the host expected a full power up
with Pass-Through and no image loading involved.

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

Reviewed-by: Jeffrey Hugo <quic_jhugo@xxxxxxxxxxx>