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

Commit 2f75f473 authored by Michael Adisumarta's avatar Michael Adisumarta
Browse files

msm: ipa4: Remove enable/disable clock on send_cmd_timeout



Remove enable/disable clk macros on ipa3_send_cmd_timeout
to prevent deadlock since the callers of this function
already enables clk and locks the same mutex.

Change-Id: Ibe7bf95332029e7af8e1d34036152cfa3dbf264e
Crs-fixed: 2242056
Signed-off-by: default avatarMichael Adisumarta <madisuma@codeaurora.org>
parent c6d1686e
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -650,7 +650,6 @@ int ipa3_send_cmd_timeout(u16 num_desc, struct ipa3_desc *descr, u32 timeout)
	atomic_set(&comp->cnt, 2);

	sys = ipa3_ctx->ep[ep_idx].sys;
	IPA_ACTIVE_CLIENTS_INC_SIMPLE();

	if (num_desc == 1) {
		if (descr->callback || descr->user1)
@@ -689,7 +688,6 @@ int ipa3_send_cmd_timeout(u16 num_desc, struct ipa3_desc *descr, u32 timeout)
		kfree(comp);

bail:
	IPA_ACTIVE_CLIENTS_DEC_SIMPLE();
	return result;
}