mhi: core: Make sure to powerdown if mhi_sync_power_up fails
Power down is necessary if mhi_sync_power_up fails due to any
timeout, to clean up the resources. Otherwise, an assert could
be triggered when attempting to clean up MSIs because the IRQ is
still active from a request_irq(). Do not allow this for RDDM
supported controllers, as ramdump collection prior to powering
down maybe needed.
Change-Id: I7469e6ad190d21ed69bb2a03fde56c969a672fa3
Signed-off-by:
Bhaumik Bhatt <bbhatt@codeaurora.org>
Loading
Please register or sign in to comment