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

Commit 186ab86e authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: mhi_dev: Modify sending completion command"

parents c0320b84 f3076acd
Loading
Loading
Loading
Loading
+0 −8
Original line number Diff line number Diff line
@@ -1165,10 +1165,6 @@ int mhi_dev_suspend(struct mhi_dev *mhi)

	}

	rc = mhi_dev_send_cmd_comp_event(mhi);
	if (rc)
		pr_err("Error sending command completion event\n");

	mutex_unlock(&mhi_ctx->mhi_write_test);

	return rc;
@@ -1197,10 +1193,6 @@ int mhi_dev_resume(struct mhi_dev *mhi)
				sizeof(enum mhi_dev_ch_ctx_state));
	}

	rc = mhi_dev_send_cmd_comp_event(mhi);
	if (rc)
		pr_err("Error sending command completion event\n");

	atomic_set(&mhi->is_suspended, 0);

	return rc;