From 187dcc5b93d3e2756051d539ba25d2cc6e77b6e5 Mon Sep 17 00:00:00 2001 From: Yuanyuan Liu Date: Wed, 7 Sep 2016 09:33:03 -0700 Subject: [PATCH] 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 --- core/pld/src/pld_common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/pld/src/pld_common.c b/core/pld/src/pld_common.c index 858c821746c5..d4404481bdb0 100644 --- a/core/pld/src/pld_common.c +++ b/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);