Message ID | 1448293142-9217-18-git-send-email-fgretief@spaceteq.co.za |
---|---|
State | Accepted |
Delegated to: | Daniel Hellstrom |
Headers | show |
diff --git a/drivers/net/greth.c b/drivers/net/greth.c index 0624eb8..088cb22 100644 --- a/drivers/net/greth.c +++ b/drivers/net/greth.c @@ -245,7 +245,7 @@ int greth_init_phy(greth_priv * dev, bd_t * bis) debug("GRETH PHY ADDRESS: %d\n", phyaddr); /* X msecs to ticks */ - timeout = usec2ticks(GRETH_PHY_TIMEOUT_MS * 1000); + timeout = GRETH_PHY_TIMEOUT_MS * 1000; /* Get system timer0 current value * Total timeout is 5s
We now use the generic delay method which specifies the timeout as microseconds instead of ticks. Signed-off-by: Francois Retief <fgretief@spaceteq.co.za> --- drivers/net/greth.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)