diff options
author | Boris Brezillon <[email protected]> | 2016-11-28 16:17:56 +0100 |
---|---|---|
committer | Alexandre Belloni <[email protected]> | 2017-01-10 16:01:34 +0100 |
commit | ee194289502a6901cc77dc9a893bf2afd351ac5e (patch) | |
tree | 34af4e95a8f11ca2c25f69745ef9bc26211905cc /lib/string_helpers.c | |
parent | 7ce7d89f48834cefece7804d38fc5d85382edf77 (diff) |
memory/atmel-ebi: Fix ns <-> cycles conversions
at91sam9_ebi_get_config() is incorrectly converting timings in clock
cycles into timings in nanoseconds by multiplying the cycle values by
the clk rate instead of the clk period.
at91sam9_ebi_xslate_config() has the same problem for the
tdf_ns -> tdf_cycles conversion.
Signed-off-by: Boris Brezillon <[email protected]>
Reported-by: Chris Leahy <[email protected]>
Fixes: 6a4ec4cd0888 ("memory: add Atmel EBI (External Bus Interface) driver")
Cc: <[email protected]>
Signed-off-by: Alexandre Belloni <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions