]> git.karo-electronics.de Git - linux-beck.git/commit
net:phy:dp83640: Move all HW initialization to dp83640_config_init
authorStefan Sørensen <stefan.sorensen@spectralink.com>
Thu, 13 Feb 2014 14:26:57 +0000 (15:26 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 13 Feb 2014 23:52:22 +0000 (18:52 -0500)
commit602b109942b816e56639a965ae81f3a2437004b5
treeaf9bfc962a188d15298cbdc0c5c4c88e8b240e17
parent0d961b3b52f566f823070ce2366511a7f64b928c
net:phy:dp83640: Move all HW initialization to dp83640_config_init

phy_init_hw not does a full PHY reset after the driver probe has
finished, so any hw initialization done in the probe will be lost.
Part of the timestamping functionality of the dp83640 is set up in the
probe and with that lost, enabling timestamping will cause a PHY
lockup, requiring a hard reset / power cycle to recover.

This patch moves all the HW initialization in dp83640_probe to
dp83640_config_init.

Signed-off-by: Stefan Sørensen <stefan.sorensen@spectralink.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/dp83640.c