瀏覽代碼

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

qctecmdr 4 年之前
父節點
當前提交
3646b55f08
共有 1 個文件被更改,包括 2 次插入2 次删除
  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;