Skip to content

Commit f96b697

Browse files
thom24kwilczynski
authored andcommitted
PCI: j721e: Use T_PERST_CLK_US macro
Use the T_PERST_CLK_US macro, and the fsleep() function instead of usleep_range(). Link: https://lore.kernel.org/linux-pci/[email protected] Signed-off-by: Thomas Richard <[email protected]> Signed-off-by: Krzysztof Wilczyński <[email protected]>
1 parent 6aa9c09 commit f96b697

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/pci/controller/cadence/pci-j721e.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -576,7 +576,7 @@ static int j721e_pcie_probe(struct platform_device *pdev)
576576
* after 100 us.
577577
*/
578578
if (gpiod) {
579-
usleep_range(100, 200);
579+
fsleep(PCIE_T_PERST_CLK_US);
580580
gpiod_set_value_cansleep(gpiod, 1);
581581
}
582582

0 commit comments

Comments
 (0)