Procházet zdrojové kódy

Merge "msm: ipa3: pass the hdl instead of pointer"

qctecmdr před 4 roky
rodič
revize
3646b55f08
1 změnil soubory, kde provedl 2 přidání a 2 odebrání
  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;