net: dsa: mv88e6xxx: wait after reset deactivation
authorBaruch Siach <baruch@tkos.co.il>
Thu, 27 Jun 2019 18:17:39 +0000 (21:17 +0300)
committerDavid S. Miller <davem@davemloft.net>
Sat, 29 Jun 2019 19:21:18 +0000 (12:21 -0700)
commit7b75e49de424ceb53d13e60f35d0a73765626fda
tree0961eb7683caa0f4b529c61b00b32cd97d4726c9
parent3c91f25c2f72ba6001775a5932857c1d2131c531
net: dsa: mv88e6xxx: wait after reset deactivation

Add a 1ms delay after reset deactivation. Otherwise the chip returns
bogus ID value. This is observed with 88E6390 (Peridot) chip.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/mv88e6xxx/chip.c