[PATCH v2 3/4] PCI: dw-rockchip: Replace PERST sleep time with proper macro
Wilfred Mallawa
wilfred.mallawa at wdc.com
Tue May 6 15:24:45 PDT 2025
On Tue, 2025-05-06 at 09:39 +0200, Niklas Cassel wrote:
> Replace the PERST sleep time with the proper macro
> (PCIE_T_PVPERL_MS).
> No functional change.
>
> Signed-off-by: Niklas Cassel <cassel at kernel.org>
> ---
> drivers/pci/controller/dwc/pcie-dw-rockchip.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/pci/controller/dwc/pcie-dw-rockchip.c
> b/drivers/pci/controller/dwc/pcie-dw-rockchip.c
> index 6a7ec3545a7f..0baf9da3ac1c 100644
> --- a/drivers/pci/controller/dwc/pcie-dw-rockchip.c
> +++ b/drivers/pci/controller/dwc/pcie-dw-rockchip.c
> @@ -225,7 +225,7 @@ static int rockchip_pcie_start_link(struct
> dw_pcie *pci)
> * We need more extra time as before, rather than setting
> just
> * 100us as we don't know how long should the device need to
> reset.
> */
> - msleep(100);
> + msleep(PCIE_T_PVPERL_MS);
> gpiod_set_value_cansleep(rockchip->rst_gpio, 1);
>
> return 0;
Reviewed-by: Wilfred Mallawa <wilfred.mallawa at wdc.com>
More information about the linux-arm-kernel
mailing list