Pablo Greco 7b2c62
From 6e318871fac5533bd4dd82677b08ba7be17df55b Mon Sep 17 00:00:00 2001
Pablo Greco 7b2c62
From: Peter Robinson <pbrobinson@gmail.com>
Pablo Greco 7b2c62
Date: Tue, 12 Jan 2021 23:14:09 +0000
Pablo Greco 7b2c62
Subject: [PATCH] brcm: rpi4: fix usb numeration
Pablo Greco 7b2c62
Pablo Greco 7b2c62
Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
Pablo Greco 7b2c62
---
Pablo Greco 7b2c62
 drivers/pci/controller/pcie-brcmstb.c | 1 +
Pablo Greco 7b2c62
 1 file changed, 1 insertion(+)
Pablo Greco 7b2c62
Pablo Greco 7b2c62
diff --git a/drivers/pci/controller/pcie-brcmstb.c b/drivers/pci/controller/pcie-brcmstb.c
Pablo Greco 7b2c62
index 9c3d2982248d..78ed98e9b099 100644
Pablo Greco 7b2c62
--- a/drivers/pci/controller/pcie-brcmstb.c
Pablo Greco 7b2c62
+++ b/drivers/pci/controller/pcie-brcmstb.c
Pablo Greco 7b2c62
@@ -869,6 +869,7 @@ static int brcm_pcie_setup(struct brcm_pcie *pcie)
Pablo Greco 7b2c62
 
Pablo Greco 7b2c62
 	/* Reset the bridge */
Pablo Greco 7b2c62
 	pcie->bridge_sw_init_set(pcie, 1);
Pablo Greco 7b2c62
+	pcie->perst_set(pcie, 1);
Pablo Greco 7b2c62
 	usleep_range(100, 200);
Pablo Greco 7b2c62
 
Pablo Greco 7b2c62
 	/* Take the bridge out of reset */
Pablo Greco 7b2c62
-- 
Pablo Greco 7b2c62
2.29.2
Pablo Greco 7b2c62