Create 999-rk356x-Add-pcie-extra-delay.patch

This commit is contained in:
骷髅头 2023-06-07 16:06:37 +08:00 committed by GitHub
parent 88dfc5afcd
commit a2daa43fc3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -0,0 +1,12 @@
--- a/drivers/pci/controller/dwc/pcie-dw-rockchip.c
+++ b/drivers/pci/controller/dwc/pcie-dw-rockchip.c
@@ -183,6 +183,9 @@ static int rockchip_pcie_start_link(struct dw_pcie *pci)
msleep(100);
gpiod_set_value_cansleep(rockchip->rst_gpio, 1);
+ /* Extra delay before pci_host_probe() */
+ msleep(10);
+
return 0;
}