]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
net: mvmdio: get and enable optional clock
authorSebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Sun, 7 Apr 2013 01:09:47 +0000 (01:09 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 8 Apr 2013 20:55:26 +0000 (16:55 -0400)
commit3d604da1e9547c09c9dcc0ee443c306c9ae1a480
tree2e85712f508c10f5b7a82c3cc9344da3810d9267
parentd5b40921aa09a0ccc24867a035ec0f13730a1e34
net: mvmdio: get and enable optional clock

Marvell mdio driver uses internal registers that can be clock gated on
some SoCs. This patch just adds optional clock handling, to allow to pass
and enable the corresponding clock.

Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Acked-by: Florian Fainelli <florian@openwrt.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/mvmdio.c