[PATCH v2 3/4] PCI: dw-rockchip: Replace PERST sleep time with proper macro
Laszlo Fiat
laszlo.fiat at proton.me
Tue May 6 04:36:04 PDT 2025
On Tuesday, May 6th, 2025 at 9:39 AM, Niklas Cassel <cassel at kernel.org> 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;
> --
> 2.49.0
Tested-by: Laszlo Fiat <laszlo.fiat at proton.me>
More information about the linux-arm-kernel
mailing list