armbian-build/patch/kernel/meson64-dev/0101-VIM3-hack-for-PCIe.patch
Igor Pečovnik 03f380178d
Moving Meson64 to k5.6.y and u-boot 2020.04 (#1890)
* Move Meson64 to 5.6.y
* Move Meson64 U-boot to 2020.04

Tested on Odroid C2
* Merge, replace and update patches from Khadas branch
2020-04-17 09:07:43 +02:00

37 lines
900 B
Diff

From 3d2163ac01d8a5e40589ea9ccaa3d8c59e620b4c Mon Sep 17 00:00:00 2001
From: Nick Xie <nick@khadas.com>
Date: Thu, 19 Mar 2020 11:12:00 +0800
Subject: [PATCH 101/101] VIM3: hack for PCIe
provided by @narmstrong
Signed-off-by: Nick Xie <nick@khadas.com>
---
drivers/pci/controller/dwc/pci-meson.c | 8 +-------
1 file changed, 1 insertion(+), 7 deletions(-)
diff --git a/drivers/pci/controller/dwc/pci-meson.c b/drivers/pci/controller/dwc/pci-meson.c
index 3772b02a5c55..b99b23fa4dfb 100644
--- a/drivers/pci/controller/dwc/pci-meson.c
+++ b/drivers/pci/controller/dwc/pci-meson.c
@@ -633,15 +633,9 @@ static int meson_pcie_probe(struct platform_device *pdev)
goto err_phy;
}
- return 0;
-
err_phy:
- if (mp->param->has_shared_phy) {
- phy_power_off(mp->phy);
- phy_exit(mp->phy);
- }
- return ret;
+ return 0;
}
static struct meson_pcie_param meson_pcie_axg_param = {
--
2.17.1