clk: armada-370: fix tclk frequencies
authorSimon Guinot <simon.guinot@sequanux.org>
Thu, 3 Oct 2013 10:05:02 +0000 (12:05 +0200)
committerMichael Turquette <mturquette@deferred.io>
Mon, 7 Oct 2013 00:39:46 +0000 (17:39 -0700)
commit1022c75f5abd3a3b25e679bc8793d21bedd009b4
treed222ced1b53032120cdf0d26cc6ddbc63b760b91
parentb9b5ab11ea221a9f2d5af41da639e0898675c34c
clk: armada-370: fix tclk frequencies

This patch fixes the tclk frequency array for the Armada-370 SoC.
This bug has been introduced by commit 6b72333d
("clk: mvebu: add Armada 370 SoC-centric clock init").

A wrong tclk frequency affects the following drivers: mvsdio, mvneta,
i2c-mv64xxx and mvebu-devbus. This list may be incomplete.

About the mvneta Ethernet driver, note that the tclk frequency is used
to compute the Rx time coalescence. Then, this bug harms the coalescence
configuration and also degrades the networking performances with the
default values.

Signed-off-by: Simon Guinot <simon.guinot@sequanux.org>
Cc: Andrew Lunn <andrew@lunn.ch>
Cc: Gregory CLEMENT <gregory.clement@free-electrons.com>
Cc: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Acked-by: Jason Cooper <jason@lakedaemon.net>
Cc: stable@vger.kernel.org
Signed-off-by: Michael Turquette <mturquette@deferred.io>
drivers/clk/mvebu/armada-370.c