OSDN Git Service

net: dsa: mv88e6xxx: add delay in direct SMI wait
authorVivien Didelot <vivien.didelot@gmail.com>
Fri, 9 Aug 2019 22:47:59 +0000 (18:47 -0400)
committerDavid S. Miller <davem@davemloft.net>
Mon, 12 Aug 2019 04:27:15 +0000 (21:27 -0700)
commiteede236112b7ea4d9a7c2f2af2ac6648699b88f3
tree837a76ba3252c623c95063f1797fc656b125e3cd
parent1c6463b6fc36f2261df1a68ee13a5ebd980914b1
net: dsa: mv88e6xxx: add delay in direct SMI wait

The mv88e6xxx_smi_direct_wait routine is used to wait on indirect
registers access. It is of no exception and must delay between read
attempts, like other wait routines.

Signed-off-by: Vivien Didelot <vivien.didelot@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/mv88e6xxx/smi.c