net: mdio: ipq8064: enlarge sleep after read/write operation
authorAnsuel Smith <ansuelsmth@gmail.com>
Fri, 14 May 2021 21:03:51 +0000 (23:03 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 14 May 2021 22:31:45 +0000 (15:31 -0700)
commit77091933e453a258bbe9ff2aeb1c8d6fc1db7ef9
tree7e4c475acd43daeaeea6169e882b4e25f637b0a1
parentb097bea10215315e8ee17f88b4c1bbb521b1878c
net: mdio: ipq8064: enlarge sleep after read/write operation

With the use of the qca8k dsa driver, some problem arised related to
port status detection. With a load on a specific port (for example a
simple speed test), the driver starts to behave in a strange way and
garbage data is produced. To address this, enlarge the sleep delay and
address a bug for the reg offset 31 that require additional delay for
this specific reg.

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/mdio/mdio-ipq8064.c