aboutsummaryrefslogtreecommitdiff
path: root/net/rxrpc/peer_event.c
diff options
context:
space:
mode:
authorStefan Wahren <stefan.wahren@i2se.com>2016-06-08 20:42:46 +0000
committerDavid S. Miller <davem@davemloft.net>2016-06-12 21:58:10 -0400
commiteb37c56361df4a3e9705e808ce3f3bb483da3814 (patch)
treeaefe838337326989f2034c3fb2f3872ce6cb3641 /net/rxrpc/peer_event.c
parent38b7097b55b6cf30adc5ac07cb1055683224393e (diff)
download96b-common-eb37c56361df4a3e9705e808ce3f3bb483da3814.tar.gz
net: fec: handle small PHY reset durations more precisely
Since msleep is based on jiffies the PHY reset could take longer than expected. So use msleep for values greater than 20 msec otherwise usleep_range. Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com> Acked-by: Fugang Duan <fugang.duan@nxp.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/rxrpc/peer_event.c')
0 files changed, 0 insertions, 0 deletions