]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
PCI: j721e: Use T_PERST_CLK_US macro
authorThomas Richard <thomas.richard@bootlin.com>
Wed, 19 Jun 2024 10:15:14 +0000 (12:15 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 5 Dec 2024 12:53:50 +0000 (13:53 +0100)
commitebd19cb3488c8259a0d032977483f78ad3477aac
tree34d45c2d96f78b7a674417415c8982d9a8579aad
parent5da1c5ef41e05561d5baac934cc1d0397e6504f5
PCI: j721e: Use T_PERST_CLK_US macro

[ Upstream commit f96b6971373382855bc964f1c067bd6dc41cf0ab ]

Use the T_PERST_CLK_US macro, and the fsleep() function instead of
usleep_range().

Link: https://lore.kernel.org/linux-pci/20240102-j7200-pcie-s2r-v7-6-a2f9156da6c3@bootlin.com
Signed-off-by: Thomas Richard <thomas.richard@bootlin.com>
Signed-off-by: Krzysztof WilczyƄski <kwilczynski@kernel.org>
Stable-dep-of: 22a9120479a4 ("PCI: j721e: Deassert PERST# after a delay of PCIE_T_PVPERL_MS milliseconds")
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/pci/controller/cadence/pci-j721e.c