Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 368c4096 authored by Andrei Danaila's avatar Andrei Danaila Committed by Matt Wagantall
Browse files

mhi: core: Remove assertion on RPM failure



Remove assertion on runtime pm resume return code.
A failure to resume may imply an ongoing change in
overall system state rather than a device failure.

Change-Id: Ic7aecc200e2d13f0771fd683e0070b0c2f9da467
Signed-off-by: default avatarAndrei Danaila <adanaila@codeaurora.org>
parent 0ff39a64
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -304,10 +304,9 @@ static enum MHI_STATUS process_wake_transition(
	}

	if (mhi_dev_ctxt->flags.mhi_initialized) {
		mhi_log(MHI_MSG_VERBOSE,
			"MHI is initialized, transitioning to M0.\n");
		r = pm_request_resume(&mhi_dev_ctxt->dev_info->plat_dev->dev);
		BUG_ON(r && r != -EINPROGRESS);
		mhi_log(MHI_MSG_VERBOSE,
			"MHI is initialized, transitioning to M0, ret %d\n", r);
	}

	if (!mhi_dev_ctxt->flags.mhi_initialized) {