Sfoglia il codice sorgente

qcacld-3.0: Call new function pld_set_pcie_gen_speed()

Call new function pld_set_pcie_gen_speed() to set pcie
gen speed accordingly.

Change-Id: I31902a8e7978e09365041f57c6bfb54cf80bdea6
CRs-Fixed: 2747789
Alan Chen 4 anni fa
parent
commit
9fff553188
1 ha cambiato i file con 5 aggiunte e 0 eliminazioni
  1. 5 0
      core/hdd/src/wlan_hdd_main.c

+ 5 - 0
core/hdd/src/wlan_hdd_main.c

@@ -11631,6 +11631,11 @@ int hdd_trigger_psoc_idle_restart(struct hdd_context *hdd_ctx)
 			 hdd_ctx->current_pcie_gen_speed);
 
 		/* call pld api for pcie gen speed change */
+		ret  = pld_set_pcie_gen_speed(hdd_ctx->parent_dev,
+					      hdd_ctx->current_pcie_gen_speed);
+		if (ret)
+			hdd_err_rl("failed to set pcie gen speed");
+
 		hdd_ctx->current_pcie_gen_speed = 0;
 	}