commit | 2ca9b2aa0d5a43e954789e0da675a826b83932b7 | [log] [tgz] |
---|---|---|
author | Shawn Guo <shawn.guo@linaro.org> | Wed Jun 27 03:45:20 2012 +0000 |
committer | David S. Miller <davem@davemloft.net> | Wed Jun 27 21:22:05 2012 -0700 |
tree | 215e82c4d767ee066082f973f765baa90db66e25 | |
parent | d2e553bca89596b7ac35f8abcec9c9b93f772fc2 [diff] |
net: fec: reset phy after pinctrl setup In case that bootloader or platform initialization does not set up fec pins, the fec_reset_phy will not be able to succeed, because fec_reset_phy is currently called before devm_pinctrl_get_select_default. Move fec_reset_phy call to the place between devm_pinctrl_get_select_default and fec_enet_init to have above case be taken care. Signed-off-by: Shawn Guo <shawn.guo@linaro.org> Signed-off-by: David S. Miller <davem@davemloft.net>