Commit b5057dd7 authored by Nicholas Mc Guire's avatar Nicholas Mc Guire Committed by David S. Miller

tlan: msecs_to_jiffies convrsion

This is only an API consolidation and should make things more readable
it replaces var * HZ / 1000 by msecs_to_jiffies(var).

As there is a discrepancy between the code and the comments this is in
a separate patch.
Signed-off-by: default avatarNicholas Mc Guire <>
Signed-off-by: default avatarDavid S. Miller <>
parent 51fd9471
......@@ -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);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment