From ed3aab505f8c5837f6829a3ee0af5f85cfa05c39 Mon Sep 17 00:00:00 2001 From: Willy Tarreau Date: Sat, 16 Dec 2017 20:23:36 +0100 Subject: WIP: mtd: pxa3xx_nand: increase timeout to avoid spurious timeouts The NAND on Linksys WRT1900ACS doesn't work at all with these timeouts but it works on OpenWRT which increases the values there. Edit: it still doesn't work. --- drivers/mtd/nand/pxa3xx_nand.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/mtd/nand/pxa3xx_nand.c b/drivers/mtd/nand/pxa3xx_nand.c index 85cff68..321a90c 100644 --- a/drivers/mtd/nand/pxa3xx_nand.c +++ b/drivers/mtd/nand/pxa3xx_nand.c @@ -31,8 +31,8 @@ #include #include -#define CHIP_DELAY_TIMEOUT msecs_to_jiffies(200) -#define NAND_STOP_DELAY msecs_to_jiffies(40) +#define CHIP_DELAY_TIMEOUT msecs_to_jiffies(2000) +#define NAND_STOP_DELAY msecs_to_jiffies(400) #define PAGE_CHUNK_SIZE (2048) /* -- 2.8.0.rc2.1.gbe9624a