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
This commit is contained in:
Yuanyuan Liu
2016-09-07 09:33:03 -07:00
committed by qcabuildsw
parent 354ed8553e
commit 187dcc5b93

View File

@@ -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);