net/fsl: quieten expected MDIO access failures
authorJamie Iles <jamie@nuviainc.com>
Thu, 24 Sep 2020 14:56:45 +0000 (15:56 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 25 Sep 2020 03:13:26 +0000 (20:13 -0700)
commit1ec8e74855588cecb2620b28b877c08f45765374
tree52da4c74cefca061ab9c91cc509c11aac0ca7a2b
parent912aae27c6af6605eae967ab540c5e26bd76d421
net/fsl: quieten expected MDIO access failures

MDIO reads can happen during PHY probing, and printing an error with
dev_err can result in a large number of error messages during device
probe.  On a platform with a serial console this can result in
excessively long boot times in a way that looks like an infinite loop
when multiple busses are present.  Since 0f183fd151c (net/fsl: enable
extended scanning in xgmac_mdio) we perform more scanning so there are
potentially more failures.

Reduce the logging level to dev_dbg which is consistent with the
Freescale enetc driver.

Cc: Jeremy Linton <jeremy.linton@arm.com>
Signed-off-by: Jamie Iles <jamie@nuviainc.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/freescale/xgmac_mdio.c