amd-xgbe: Limit the I2C error messages that are output
authorLendacky, Thomas <Thomas.Lendacky@amd.com>
Wed, 28 Jun 2017 18:42:35 +0000 (13:42 -0500)
committerDavid S. Miller <davem@davemloft.net>
Thu, 29 Jun 2017 19:14:17 +0000 (15:14 -0400)
commit45a2005e9354f8bcf2333a8bc8cc4b26a927d042
tree79f7fcbcc1614275fe872caa85f75bc1ab9ccea2
parented3333fa6fc21b4191601367a5ea4f0f198f100d
amd-xgbe: Limit the I2C error messages that are output

When I2C communication fails, it tends to always fail. Rather than
continuously issue an error message (once per second in most cases),
change the message to be issued just once.

Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/amd/xgbe/xgbe-phy-v2.c