commit | 5b0d4d7c8a67c5ba3d35e6ceb0c5530cc6846db7 | [log] [tgz] |
---|---|---|
author | Matt Reimer <mreimer@vpop.net> | Tue Nov 18 10:54:32 2008 -0800 |
committer | David Woodhouse <David.Woodhouse@intel.com> | Mon Jan 05 13:03:20 2009 +0100 |
tree | 0b810dda67150d67279dc854cf98b10ec2c0fc85 | |
parent | 7f9938d0fd6c778bd0ce296a3e3b50266de2b892 [diff] |
[MTD] [NAND] pxa3xx: convert from ns to clock ticks more accurately The various fields in NDTR{01} are in units of clock ticks minus one, but the ns2cycle macro mistakenly adds one, inflating the number of clock ticks and making it impossible to set any of these fields to zero. Signed-off-by: Matt Reimer <mreimer@vpop.net> Signed-off-by: Eric Miao <eric.miao@marvell.com> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>