]> 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)
commit88923ebc1a2ca6405f718aba143603f1b95f1c6b
tree9068887226332e170208164c891936a6258d459e
parentb807e28fb1d094ae9033ae8011eb060f062db844
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