tlan: msecs_to_jiffies convrsion
[firefly-linux-kernel-4.4.55.git] / drivers / net / ethernet / ti / tlan.c
index 1f722c99afb9f3a12523315451a0758346396422..691ec936e88d53601e3ed257278708ae823670c8 100644 (file)
@@ -2561,7 +2561,7 @@ static void tlan_phy_power_up(struct net_device *dev)
         * transceiver.  The TLAN docs say both 50 ms and
         * 500 ms, so do the longer, just in case.
         */
-       tlan_set_timer(dev, (HZ/20), TLAN_TIMER_PHY_RESET);
+       tlan_set_timer(dev, msecs_to_jiffies(500), TLAN_TIMER_PHY_RESET);
 
 }