summaryrefslogtreecommitdiff
path: root/drivers/pci/dwc
diff options
context:
space:
mode:
authorRichard Zhu <hongxing.zhu@nxp.com>2018-06-05 16:45:29 +0800
committerJason Liu <jason.hui.liu@nxp.com>2019-02-12 10:32:04 +0800
commit023b6deb97e632aeee857b22a6e86f7d76b1a9b4 (patch)
treeac5aadef604fa0100ea6579d4fbdc34d57c9fd1f /drivers/pci/dwc
parent087f2134393fbda0cc9b8c44c581bb65f93fd85a (diff)
MLK-17880 PCI: imx: fix the imx6q pcie resume hang
The perst signal shouldn't be asserted during imx6q/dl pcie suspend. Otherwise, the link would be down during resume, and system would be hang. Fix it by one return in imx6q switch case. Signed-off-by: Richard Zhu <hongxing.zhu@nxp.com>
Diffstat (limited to 'drivers/pci/dwc')
-rw-r--r--drivers/pci/dwc/pci-imx6.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/dwc/pci-imx6.c b/drivers/pci/dwc/pci-imx6.c
index 52c2687538c0..4b3a2008df40 100644
--- a/drivers/pci/dwc/pci-imx6.c
+++ b/drivers/pci/dwc/pci-imx6.c
@@ -1951,7 +1951,7 @@ static void pci_imx_pm_turn_off(struct imx_pcie *imx_pcie)
break;
case IMX6Q:
dev_info(dev, "Info: don't support pm_turn_off yet.\n");
- break;
+ return;
}
udelay(1000);