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:
@@ -1410,7 +1410,7 @@ int pld_power_off(struct device *dev)
|
|||||||
|
|
||||||
switch (pld_get_bus_type(dev)) {
|
switch (pld_get_bus_type(dev)) {
|
||||||
case PLD_BUS_TYPE_PCIE:
|
case PLD_BUS_TYPE_PCIE:
|
||||||
ret = pld_pcie_power_on(dev);
|
ret = pld_pcie_power_off(dev);
|
||||||
break;
|
break;
|
||||||
case PLD_BUS_TYPE_SNOC:
|
case PLD_BUS_TYPE_SNOC:
|
||||||
ret = pld_snoc_power_off(dev);
|
ret = pld_snoc_power_off(dev);
|
||||||
|
Reference in New Issue
Block a user