]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita1a0f2ee3fbf2a6bdc02392dd885eb0d7e550e29
tree79f7fcbcc1614275fe872caa85f75bc1ab9ccea2
parent9e928a995032daa22e587d11bb30909204d6593b
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