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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 12 Jan 2017 10:39:06 +0000 (11:39 +0100)
commitc7b1b7951d9d08a7b9ec19354fa8f33b5d1e9ddb
tree85631480773b1083b312d8e4a9f39efddf16cd0e
parent5f390df2baf73050b7af522ded2b2e070d21caa2
ARM: davinci: da850: don't add emac clock to lookup table twice

commit ef37427ac5677331145ab27a17e6f5f1b43f0c11 upstream.

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.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/arm/mach-davinci/da850.c