From: Niklas Cassel
Date: Tue, 14 Nov 2017 11:15:54 +0100
> The LPI transitioning logic in stmmac_main uses
> priv->tx_path_in_lpi_mode to enter/exit LPI.
>
> However, priv->tx_path_in_lpi_mode is assigned
> using the return value from host_irq_status().
>
> So for dwmac4, priv->tx_path_in_lpi_
The LPI transitioning logic in stmmac_main uses
priv->tx_path_in_lpi_mode to enter/exit LPI.
However, priv->tx_path_in_lpi_mode is assigned
using the return value from host_irq_status().
So for dwmac4, priv->tx_path_in_lpi_mode was always false,
so stmmac_tx_clean() would always try to put us in