Răsfoiți Sursa

qcacld-3.0: Call pld_pcie_power_off in pld_power_off

There's mistake that pld_power_off calls pld_pcie_power_on. Fix
this by calling the correct pcie power function.

Change-Id: I9e968d749479856510e0dd7f32f5babc57b6ebed
CRs-Fixed: 1064058
Yuanyuan Liu 8 ani în urmă
părinte
comite
187dcc5b93
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      core/pld/src/pld_common.c

+ 1 - 1
core/pld/src/pld_common.c

@@ -1410,7 +1410,7 @@ int pld_power_off(struct device *dev)
 
 	switch (pld_get_bus_type(dev)) {
 	case PLD_BUS_TYPE_PCIE:
-		ret = pld_pcie_power_on(dev);
+		ret = pld_pcie_power_off(dev);
 		break;
 	case PLD_BUS_TYPE_SNOC:
 		ret = pld_snoc_power_off(dev);