Skip to content

Commit

Permalink
net/fsl: xgmac_mdio: Fix spelling mistake "frequecy" -> "frequency"
Browse files Browse the repository at this point in the history
There is a spelling mistake in a dev_err message. Fix it.

Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Colin Ian King authored and David S. Miller committed Jan 28, 2022
1 parent 7c263e9 commit 34a79c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/ethernet/freescale/xgmac_mdio.c
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ static int xgmac_mdio_set_mdc_freq(struct mii_bus *bus)

div = ((clk_get_rate(priv->enet_clk) / priv->mdc_freq) - 1) / 2;
if (div < 5 || div > 0x1ff) {
dev_err(dev, "Requested MDC frequecy is out of range, ignoring");
dev_err(dev, "Requested MDC frequency is out of range, ignoring");
return -EINVAL;
}

Expand Down

0 comments on commit 34a79c5

Please sign in to comment.