diff options
author | Ahmad Fatoum <a.fatoum@pengutronix.de> | 2020-02-24 18:29:54 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-02-24 15:38:46 -0800 |
commit | 07cc79efb1e53967444766f9e3abf9f0af362b93 (patch) | |
tree | 886f917f6fac93ebf5c612b6bdb9b1b81d5a6803 /drivers/net/ethernet/stmicro/stmmac/dwmac-stm32.c | |
parent | Merge branch 'Add-ACPI-bindings-to-the-genet' (diff) | |
download | linux-dev-07cc79efb1e53967444766f9e3abf9f0af362b93.tar.xz linux-dev-07cc79efb1e53967444766f9e3abf9f0af362b93.zip |
net: ethernet: stmmac: demote warnings about missing optional clocks
The specification of a "eth-ck" and a "ptp_ref" clock is optional per
the binding and the driver handles them gracefully.
Demote the output to an info message accordingly.
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/stmicro/stmmac/dwmac-stm32.c')
-rw-r--r-- | drivers/net/ethernet/stmicro/stmmac/dwmac-stm32.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/stmicro/stmmac/dwmac-stm32.c b/drivers/net/ethernet/stmicro/stmmac/dwmac-stm32.c index 9b7be996d07b..dc84e5066bf8 100644 --- a/drivers/net/ethernet/stmicro/stmmac/dwmac-stm32.c +++ b/drivers/net/ethernet/stmicro/stmmac/dwmac-stm32.c @@ -304,7 +304,7 @@ static int stm32mp1_parse_data(struct stm32_dwmac *dwmac, /* Get ETH_CLK clocks */ dwmac->clk_eth_ck = devm_clk_get(dev, "eth-ck"); if (IS_ERR(dwmac->clk_eth_ck)) { - dev_warn(dev, "No phy clock provided...\n"); + dev_info(dev, "No phy clock provided...\n"); dwmac->clk_eth_ck = NULL; } |