diff options
author | Rafał Miłecki <zajec5@gmail.com> | 2012-12-24 17:34:29 +0100 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2012-12-24 17:55:51 +0100 |
commit | 5a40b5fb2bb3a4d1c20149fe47ab25409026ee2e (patch) | |
tree | c69f47425fc482af12b70f85d932afe96c820825 /drivers/mtd/nand | |
parent | Merge tag 'for-linus-20121219' of git://git.infradead.org/linux-mtd (diff) | |
download | linux-5a40b5fb2bb3a4d1c20149fe47ab25409026ee2e.tar.xz linux-5a40b5fb2bb3a4d1c20149fe47ab25409026ee2e.zip |
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.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'drivers/mtd/nand')
-rw-r--r-- | drivers/mtd/nand/bcm47xxnflash/ops_bcm4706.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mtd/nand/bcm47xxnflash/ops_bcm4706.c b/drivers/mtd/nand/bcm47xxnflash/ops_bcm4706.c index 86c9a79b89b3..595de4012e71 100644 --- a/drivers/mtd/nand/bcm47xxnflash/ops_bcm4706.c +++ b/drivers/mtd/nand/bcm47xxnflash/ops_bcm4706.c @@ -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 |