Skip to contentSkip to conversation

mtd: bcm47xxnflash: increase NFLASH_READY_RETRIES

PATCH In review Rafał Miłecki 2 participants 3 messages Dec 24, 2012 – Feb 4, 2013

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mtd: bcm47xxnflash: increase NFLASH_READY_RETRIES

Recently imlemented writing support has shown that current num of retries is too low. Writing requires longer waiting than simple reading.

---
 drivers/mtd/nand/bcm47xxnflash/ops_bcm4706.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
drivers/mtd/nand/bcm47xxnflash/ops_bcm4706.c +2 -2
index 86c9a79..595de40 100644
@@ -17,8 +17,8 @@
 #include "bcm47xxnflash.h"
 
 /* Broadcom uses 1'000'000 but it seems to be too many. Tests on WNDR4500 has
- * shown 164 retries as maxiumum. */
-#define NFLASH_READY_RETRIES		1000
+ * shown ~1000 retries as maxiumum. */
+#define NFLASH_READY_RETRIES		10000
 
 #define NFLASH_SECTOR_SIZE		512
 
Signature · 1 line
1.7.7
#1 lore raw
Quoted 4 lines · Rafał Miłecki

Recently imlemented writing support has shown that current num of retries is too low. Writing requires longer waiting than simple reading.

Just FYI, this patch is sitting in David's tree and will probably be merged to 3.8.

Signature · 2 lines
Best Regards,
Artem Bityutskiy
#2 lore raw

2013/1/15 Artem Bityutskiy <[email protected]>:

Quoted 7 lines · Rafał Miłecki
Quoted 4 lines

Recently imlemented writing support has shown that current num of retries is too low. Writing requires longer waiting than simple reading.

Just FYI, this patch is sitting in David's tree and will probably be merged to 3.8.

Ping?

Signature · 1 line
Rafał