From 37db7be36975e4445f50ffbfc7a00435e7a0ef57 Mon Sep 17 00:00:00 2001 From: Jon Lin Date: Tue, 23 Apr 2024 15:52:20 +0800 Subject: [PATCH] spi: rockchip-sfc: Increase the waiting time to adapt to lower frequency Wait 5 seconds. Change-Id: I7a91d5bb4efa939a365f101b61f3246912558046 Signed-off-by: Jon Lin --- drivers/spi/spi-rockchip-sfc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/spi/spi-rockchip-sfc.c b/drivers/spi/spi-rockchip-sfc.c index 6211acbd2d97..0dc25bd9a685 100644 --- a/drivers/spi/spi-rockchip-sfc.c +++ b/drivers/spi/spi-rockchip-sfc.c @@ -976,7 +976,7 @@ static int rockchip_sfc_probe(struct platform_device *pdev) if (readl_poll_timeout(sfc->regbase + SFC_SR, status, !(status & SFC_SR_IS_BUSY), 10, - 500 * USEC_PER_MSEC)) + 5000 * USEC_PER_MSEC)) dev_err(dev, "Wait for SFC idle timeout!\n"); }