net: dsa: mv88e6xxx: wait after reset deactivation
authorBaruch Siach <baruch@tkos.co.il>
Thu, 27 Jun 2019 18:17:39 +0000 (21:17 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 31 Jul 2019 05:28:45 +0000 (07:28 +0200)
commit8cdeb06cd0012309e4cd165e7a4bf746be2eddb4
tree40d621a8937eaffbe0b13457043c9fde5706f45c
parent5d96a587a98aff15d826652dbf6543a556210012
net: dsa: mv88e6xxx: wait after reset deactivation

[ Upstream commit 7b75e49de424ceb53d13e60f35d0a73765626fda ]

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/dsa/mv88e6xxx/chip.c