mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-06 10:58:48 +09:00
spi: rockchip-sfc: Increase the waiting time to adapt to lower frequency
Wait 5 seconds. Change-Id: I7a91d5bb4efa939a365f101b61f3246912558046 Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
This commit is contained in:
@@ -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");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user