Skip to content

Commit 724b22d

Browse files
Russell King (Oracle)kuba-moo
authored andcommitted
net: stmmac: dwc-qos: use PHY WoL
Mark Tegra platforms to use PHY's wake-on-Lan capabilities rather than the stmmac wake-on-Lan. Signed-off-by: Russell King (Oracle) <[email protected]> Reviewed-by: Andrew Lunn <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
1 parent 9c02ea5 commit 724b22d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

drivers/net/ethernet/stmicro/stmmac/dwmac-dwc-qos-eth.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,8 @@ static int tegra_eqos_probe(struct platform_device *pdev,
261261
plat_dat->set_clk_tx_rate = stmmac_set_clk_tx_rate;
262262
plat_dat->bsp_priv = eqos;
263263
plat_dat->flags |= STMMAC_FLAG_SPH_DISABLE |
264-
STMMAC_FLAG_EN_TX_LPI_CLK_PHY_CAP;
264+
STMMAC_FLAG_EN_TX_LPI_CLK_PHY_CAP |
265+
STMMAC_FLAG_USE_PHY_WOL;
265266

266267
return 0;
267268

0 commit comments

Comments
 (0)