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

Commit 191f68cf authored by Ravi Gummadidala's avatar Ravi Gummadidala
Browse files

msm: ipa: remove SW workaround



Commit cea5c65d9e5c139cecfcb9923f5bcc0a85fc4aa2 added a SW
workaround for a HW bug. The HW bug is fixed on current
versions of IPA core. This commit reverts that workaround.

Change-Id: Ic22c374a3ef7b3f25ade47b10907339c342c26cc
Signed-off-by: default avatarRavi Gummadidala <rgummadi@codeaurora.org>
parent f75c756e
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -309,9 +309,6 @@ int ipa_connect(const struct ipa_connect_params *in, struct ipa_sps_params *sps,
		ep->connect.event_thresh = IPA_EVENT_THRESHOLD;
	ep->connect.options = SPS_O_AUTO_ENABLE;    /* BAM-to-BAM */

	if (IPA_CLIENT_IS_CONS(in->client))
		ep->connect.options |= SPS_O_NO_DISABLE;

	result = sps_connect(ep->ep_hdl, &ep->connect);
	if (result) {
		IPAERR("sps_connect fails.\n");
+2 −2
Original line number Diff line number Diff line
@@ -2076,7 +2076,7 @@ static int ipa_assign_policy(struct ipa_sys_connect_params *in,
		} else if (in->client == IPA_CLIENT_APPS_LAN_CONS) {
			sys->policy = IPA_POLICY_INTR_POLL_MODE;
			sys->sps_option = (SPS_O_AUTO_ENABLE | SPS_O_EOT |
					SPS_O_ACK_TRANSFERS | SPS_O_NO_DISABLE);
					SPS_O_ACK_TRANSFERS);
			sys->sps_callback = ipa_sps_irq_rx_notify;
			INIT_WORK(&sys->work, ipa_wq_handle_rx);
			INIT_DELAYED_WORK(&sys->switch_to_intr_work,
@@ -2150,7 +2150,7 @@ static int ipa_assign_policy(struct ipa_sys_connect_params *in,
				sys->ep->status.status_en = false;
				sys->policy = IPA_POLICY_INTR_POLL_MODE;
				sys->sps_option = (SPS_O_AUTO_ENABLE | SPS_O_EOT
				| SPS_O_ACK_TRANSFERS | SPS_O_NO_DISABLE);
						| SPS_O_ACK_TRANSFERS);
				sys->sps_callback = ipa_sps_irq_rx_notify;
				INIT_WORK(&sys->work, ipa_wq_handle_rx);
				INIT_DELAYED_WORK(&sys->switch_to_intr_work,