summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorBoris Brezillon <boris.brezillon@free-electrons.com>2016-11-28 15:17:56 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-03-15 02:02:45 (GMT)
commit1f2ca141ec53a9c43ea0852f013907d19c435986 (patch)
tree40f88c5aa8382c1e0e121b84b875e7c79874173a /tools
parentb2b0f6ffd3f97953044e909ca311d2a580ae8575 (diff)
downloadlinux-1f2ca141ec53a9c43ea0852f013907d19c435986.tar.xz
memory/atmel-ebi: Fix ns <-> cycles conversions
commit ee194289502a6901cc77dc9a893bf2afd351ac5e upstream. 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 <boris.brezillon@free-electrons.com> Reported-by: Chris Leahy <leahycm@gmail.com> Fixes: 6a4ec4cd0888 ("memory: add Atmel EBI (External Bus Interface) driver") Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions