Jaeden Amero
2c29b2354a
net/macb: Only adjust tx_clk on link change
...
The PHY state machine (in drivers/net/phy/phy.c) will unconditionally
call phydev->adjust_link (macb_handle_link_change) when polling in the
PHY_CHANGELINK state. As currently written, macb always ends up
requesting a new tx_clk frequency in macb_handle_link_change. It is a
waste of time to request a new tx_clk frequency if the link state hasn't
changed, as the tx_clk will already be configured properly.
Let's only request a new tx_clk clock frequency when necessary.
Signed-off-by: Jaeden Amero <jaeden.amero@ni.com >
Cc: Josh Cartwright <joshc@ni.com >
Cc: Soren Brinkmann <soren.brinkmann@xilinx.com >
Signed-off-by: David S. Miller <davem@davemloft.net >
2015-03-12 23:04:32 -04:00
..
2015-02-11 19:40:12 -08:00
2015-03-01 13:40:23 -05:00
2014-10-20 16:21:03 +02:00
2014-10-20 16:21:03 +02:00
2015-02-11 19:37:43 -08:00
2015-03-08 22:54:22 -04:00
2015-01-13 17:51:08 -05:00
2015-03-03 21:16:48 -05:00
2015-03-08 22:54:22 -04:00
2015-03-05 15:40:10 -05:00
2015-03-08 22:54:22 -04:00
2014-09-23 12:09:27 -04:00
2015-03-08 22:54:22 -04:00
2015-03-11 17:54:55 -04:00
2015-03-08 22:54:22 -04:00
2015-03-12 23:04:32 -04:00
2015-03-08 22:54:22 -04:00
2015-03-08 22:54:22 -04:00
2015-03-08 22:54:22 -04:00
2015-03-03 21:16:48 -05:00
2015-01-15 14:08:07 -05:00
2015-03-08 22:54:22 -04:00
2015-03-08 22:54:22 -04:00
2014-10-20 16:21:07 +02:00
2015-03-11 16:37:50 -04:00
2015-02-02 18:51:03 -08:00
2014-12-09 16:18:47 -05:00
2014-10-20 16:21:08 +02:00
2015-03-03 14:36:17 -05:00
2015-03-09 10:53:37 -07:00
2015-03-08 22:54:22 -04:00
2015-03-12 00:03:34 -04:00
2015-03-03 17:01:36 -05:00
2015-03-08 22:54:22 -04:00
2015-02-05 00:25:10 -08:00
2015-01-13 17:51:08 -05:00
2015-03-08 22:54:22 -04:00
2014-10-20 16:21:10 +02:00
2015-01-13 17:51:08 -05:00
2014-10-03 15:31:40 -07:00
2014-10-20 16:21:11 +02:00
2015-03-08 22:54:22 -04:00
2015-03-08 22:54:22 -04:00
2015-03-01 13:40:23 -05:00
2015-03-08 22:54:22 -04:00
2015-03-08 22:54:22 -04:00
2015-02-24 16:26:07 -05:00
2015-03-04 15:40:54 -05:00
2015-03-09 23:56:52 -04:00
2015-03-08 22:54:22 -04:00
2014-10-20 16:21:12 +02:00
2015-03-08 22:54:22 -04:00
2014-10-20 16:21:12 +02:00
2015-03-09 23:38:02 -04:00
2015-03-09 23:38:02 -04:00
2015-03-08 22:54:22 -04:00
2015-01-13 17:51:08 -05:00
2015-03-08 22:54:22 -04:00
2015-02-13 21:21:37 -08:00
2015-03-08 22:54:22 -04:00
2014-10-20 16:21:13 +02:00
2015-02-24 16:30:02 -05:00
2015-03-08 22:54:22 -04:00
2014-12-31 19:19:00 -05:00
2015-03-03 21:16:48 -05:00
2015-01-11 21:44:55 -05:00
2014-10-20 16:21:02 +02:00
2015-01-13 17:51:08 -05:00
2014-12-22 16:29:03 -05:00
2014-10-20 16:21:02 +02:00
2014-12-22 16:29:03 -05:00
2014-10-20 16:21:02 +02:00