Skip to content

Commit

Permalink
net: stmmac: Fix wrong message in stmmac_probe_config_dt
Browse files Browse the repository at this point in the history
Most likely a copy & paste error in referenced commit.
Restore the debug message to what it was before.

Fixes: f573c0b ("stmmac: move stmmac_clk, pclk, clk_ptp_ref and stmmac_rst to platform structure")
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Acked-By: Joao Pinto <jpinto@synopsys.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Heiner Kallweit authored and David S. Miller committed Feb 3, 2017
1 parent 722eef2 commit fd3984e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c
Original file line number Diff line number Diff line change
@@ -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,

0 comments on commit fd3984e

Please sign in to comment.