net: ll_temac: Replace bad usage of msleep() with usleep_range()
authorEsben Haabendal <esben@geanix.com>
Tue, 30 Apr 2019 07:17:57 +0000 (09:17 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 1 May 2019 18:33:30 +0000 (14:33 -0400)
commit901d14ab5584753a72116a53fbc4fa67832ad1a5
treeec57106f024d9aa2aa4e9e31ff444d6557c9815a
parent2c9938e738a273ba315679781a9990c7d3b1831b
net: ll_temac: Replace bad usage of msleep() with usleep_range()

Use usleep_range() to avoid problems with msleep() actually sleeping
much longer than expected.

Signed-off-by: Esben Haabendal <esben@geanix.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/xilinx/ll_temac_main.c