[PATCH v2 3/4] PCI: dw-rockchip: Replace PERST sleep time with proper macro

Hans Zhang 18255117159 at 163.com
Tue May 6 02:07:07 PDT 2025



On 2025/5/6 15:39, 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: Hans Zhang <18255117159 at 163.com>

Best regards,
Hans




More information about the linux-arm-kernel mailing list