Re: [PATCH v3 1/6] bus: mhi: core: Make sure to powerdown if mhi_sync_power_up fails

From: Hemant Kumar
Date: Tue Apr 28 2020 - 14:53:07 EST




On 4/27/20 8:59 AM, Jeffrey Hugo wrote:
Powerdown is necessary if mhi_sync_power_up fails due to a timeout, to
clean up the resources. Otherwise a BUG could be triggered when
attempting to clean up MSIs because the IRQ is still active from a
request_irq().

Signed-off-by: Jeffrey Hugo <jhugo@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