Explorar o código

msm: ipa3: pass the hdl instead of pointer

Fix pass by value for ipa_pm_set_throughput and activate_sync

Change-Id: I920356e394b3818336c959ef72fc9df4ae3e55eb
Signed-off-by: Michael Adisumarta <[email protected]>
Michael Adisumarta %!s(int64=4) %!d(string=hai) anos
pai
achega
45bbdaa355
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      drivers/platform/msm/ipa/ipa_v3/teth_bridge.c

+ 2 - 2
drivers/platform/msm/ipa/ipa_v3/teth_bridge.c

@@ -210,9 +210,9 @@ int ipa3_teth_bridge_connect(struct teth_bridge_connect_params *connect_params)
 
 	/* vote for turbo in case of MHIP channels*/
 	if (ipa3_is_apq())
-		res = ipa_pm_set_throughput(ipa3_teth_ctx->modem_pm_hdl,
+		res = ipa_pm_set_throughput(*pm,
 			5200);
-	res = ipa_pm_activate_sync(ipa3_teth_ctx->modem_pm_hdl);
+	res = ipa_pm_activate_sync(*pm);
 
 	TETH_DBG_FUNC_EXIT();
 	return res;