ARM: davinci: da850: don't add emac clock to lookup table twice
authorBartosz Golaszewski <bgolaszewski@baylibre.com>
Wed, 7 Dec 2016 15:22:16 +0000 (16:22 +0100)
committerSekhar Nori <nsekhar@ti.com>
Mon, 2 Jan 2017 09:07:18 +0000 (14:37 +0530)
commitef37427ac5677331145ab27a17e6f5f1b43f0c11
tree9694e5ad6c820fbb4fc9efa31199776e8dfdfada
parent5d45b011c14a791ef23555a59ff7a3e6d213530f
ARM: davinci: da850: don't add emac clock to lookup table twice

Similarly to the aemif clock - this screws up the linked list of clock
children. Create a separate clock for mdio inheriting the rate from
emac_clk.

Cc: <stable@vger.kernel.org> # 3.12.x-
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
[nsekhar@ti.com: add a comment over mdio_clk to explaing its existence +
 commit headline updates]
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
arch/arm/mach-davinci/da850.c