]> 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)
commit9ee4d12eeb55ccc4a9bd10023e8a37093a2981e7
tree6cd4fb58456b8cf94f7e184a1c0f0d2f6690ced1
parent99289b97d9f362f4cfff0506b141f8f544b132d8
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