summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/rfd_ftl.c
diff options
context:
space:
mode:
authorBoris Brezillon <boris.brezillon@free-electrons.com>2017-08-23 20:45:01 +0200
committerBrian Norris <computersforpeace@gmail.com>2017-08-24 20:59:50 -0700
commitbe3e83e3471cd0faff2c2d88fe9cfc73d9a9745a (patch)
tree7f95cf515d56da4b1f4aac1f60e782271d5e8472 /drivers/mtd/rfd_ftl.c
parentb974696da1cfc5aa0c29ed97dc8f6c239899e64b (diff)
downloadlinux-be3e83e3471cd0faff2c2d88fe9cfc73d9a9745a.tar.bz2
mtd: nand: atmel: Relax tADL_min constraint
Version 4 of the ONFI spec mandates that tADL be at least 400 nanoseconds, but, depending on the master clock rate, 400 ns may not fit in the tADL field of the SMC reg. We need to relax the check and accept the -ERANGE return code. Note that previous versions of the ONFI spec had a lower tADL_min (100 or 200 ns). It's not clear why this timing constraint got increased but it seems most NANDs are fine with values lower than 400ns, so we should be safe. Fixes: f9ce2eddf176 ("mtd: nand: atmel: Add ->setup_data_interface() hooks") Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com> Tested-by: Quentin Schulz <quentin.schulz@free-electrons.com> Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Diffstat (limited to 'drivers/mtd/rfd_ftl.c')
0 files changed, 0 insertions, 0 deletions