Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 458a0fb6 authored by Yan He's avatar Yan He
Browse files

msm: pcie: Reduce the retry times for PCIe PHY



The reference clock stabilization delay has been added into PCIe
bus driver. Thus, the amount of retries before PCIe PHY is ready
should be reduced. Otherwise, the system bootup will be waiting
there for a very long time if PCIe PHY fails to be ready.

Change-Id: I6a8c33e18bf403a4ab4aae471b2e1b39f846fe51
Signed-off-by: default avatarYan He <yanhe@codeaurora.org>
parent 0080b11c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -92,7 +92,7 @@
#define LINK_UP_TIMEOUT_US_MIN                100000
#define LINK_UP_TIMEOUT_US_MAX                105000

#define PHY_READY_TIMEOUT_COUNT               0xFFFFFFull
#define PHY_READY_TIMEOUT_COUNT               10
#define XMLH_LINK_UP                          0x400
#define MAX_LINK_RETRIES 5
#define MAX_BUS_NUM 3