]> git.baikalelectronics.ru Git - kernel.git/commit
net: stmmac: Enable stmmac main clock when probing hardware
authorChen-Yu Tsai <wens@csie.org>
Fri, 17 Jan 2014 13:24:40 +0000 (21:24 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 20 Jan 2014 04:02:02 +0000 (20:02 -0800)
commit4fc2f9222374c776aadeb4f50d9650372656ee32
tree9068887226332e170208164c891936a6258d459e
parente2a9a363be0818d9c895c6958ae77bda42fa055d
net: stmmac: Enable stmmac main clock when probing hardware

The stmmac driver does not enable the main clock during the probe phase.
If the clock was not enabled by the boot loader or was disabled by the
kernel, hardware features and the MDIO bus would not be probed properly.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c