net: stmmac: Fix wrong message in stmmac_probe_config_dt
Subsystems (4)
PATCH v2 1/1 net: stmmac: Fix wrong message in stmmac_probe_config_dt
Most likely a copy & paste error in referenced commit. Restore the debug message to what it was before.
---
v2:
- Don't remove the wrong comment but replace it with what was there before the referenced commit.
--- drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c +1 -1
@@ -371,7 +371,7 @@ stmmac_probe_config_dt(struct platform_device *pdev, const char **mac) }else {clk_prepare_enable (plat->clk_ptp_ref); plat->clk_ptp_rate =clk_get_rate (plat->clk_ptp_ref); -dev_info (&pdev->dev,"No reset control found\n" ); +dev_dbg (&pdev->dev,"PTP rate %d\n" , plat->clk_ptp_rate); } plat->stmmac_rst = devm_reset_control_get(&pdev->dev,
Signature · 1 line
2.11.0
Hi Heiner,
Às 7:20 AM de 2/2/2017, Heiner Kallweit escreveu:
Quoted 1 line
Most likely a copy & paste error in referenced commit.
Yep, thanks for noticing!
Quoted 18 lines
Restore the debug message to what it was before.
Fixes f573c0b9c4e0 ("stmmac: move stmmac_clk, pclk, clk_ptp_ref and stmmac_rst to platform structure")Signed-off-by Heiner Kallweit <[email protected]>---
v2:
- Don't remove the wrong comment but replace it with what was there before the referenced commit.--- drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c +0
-0
drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c stmmac_probe_config_dt(struct platform_device *pdev, const char **mac) · line 377
Quoted 8 lines
drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c +1
-1@@ -371,7 +371,7 @@ stmmac_probe_config_dt(struct platform_device *pdev, const char **mac) }else {clk_prepare_enable (plat->clk_ptp_ref); plat->clk_ptp_rate =clk_get_rate (plat->clk_ptp_ref); -dev_info (&pdev->dev,"No reset control found\n" ); +dev_dbg (&pdev->dev,"PTP rate %d\n" , plat->clk_ptp_rate); } plat->stmmac_rst = devm_reset_control_get(&pdev->dev,
From: Heiner Kallweit <[email protected]>
Date: Thu, 2 Feb 2017 08:20:12 +0100
Quoted 9 lines
Most likely a copy & paste error in referenced commit. Restore the debug message to what it was before.
Fixes f573c0b9c4e0 ("stmmac: move stmmac_clk, pclk, clk_ptp_ref and stmmac_rst to platform structure")Signed-off-by Heiner Kallweit <[email protected]>---
v2:
- Don't remove the wrong comment but replace it with what was there before the referenced commit.
Applied to net-next.