Re: [PATCH net-next RFT] net: fec: handle small PHY reset durations more precisely

2016-06-12 Thread David Miller
From: Stefan Wahren Date: Wed, 8 Jun 2016 20:42:46 + > 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 Applied.

RE: [PATCH net-next RFT] net: fec: handle small PHY reset durations more precisely

2016-06-11 Thread Fugang Duan
ject: [PATCH net-next RFT] 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 Wahre

[PATCH net-next RFT] net: fec: handle small PHY reset durations more precisely

2016-06-08 Thread Stefan Wahren
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 --- drivers/net/ethernet/freescale/fec_main.c |7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --