Files
linux/drivers
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-03-06 01:29:16 +01:00
2015-03-02 12:08:43 -05:00
2015-03-06 22:35:49 +01:00
2015-02-03 15:48:51 -08:00
2015-02-25 11:38:46 +11:00
2015-03-02 16:43:41 -05:00
2015-02-03 15:58:39 -08:00
2015-02-04 09:15:18 +01:00
2015-03-11 17:56:28 -04:00
2015-02-18 08:40:29 +01:00
2015-03-06 01:29:05 +01:00
2015-02-03 15:58:39 -08:00