]> git.baikalelectronics.ru Git - kernel.git/commit
net:phy:dp83640: Initialize PTP clocks at device init.
authorStefan Sørensen <stefan.sorensen@spectralink.com>
Mon, 3 Feb 2014 14:36:58 +0000 (15:36 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 5 Feb 2014 04:07:36 +0000 (20:07 -0800)
commit191e1af46e5124dd5f1cce2760a5abbc7fa037bf
tree6cd4fb58456b8cf94f7e184a1c0f0d2f6690ced1
parentd93d657aa87e0686cd7da7b8fa938e722d5cce38
net:phy:dp83640: Initialize PTP clocks at device init.

The trigger and events functionality can be useful even if packet
timestamping is not used, but the required PTP clock is only enabled
when packet timestamping is started. This patch moves the clock enable
to when the interface is configured.

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