Commit 5202e173 authored by David S. Miller's avatar David S. Miller

tms380tr: Use mdelay() in tms380tr_wait().

This driver tries to do up to half-second udelay()
calls, which overflows on x86-64.
Reported-by: default avatarAndi Kleen <andi@firstfloor.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 11a766ce
......@@ -1220,7 +1220,7 @@ void tms380tr_wait(unsigned long time)
tmp = schedule_timeout_interruptible(tmp);
} while(time_after(tmp, jiffies));
#else
udelay(time);
mdelay(time / 1000);
#endif
}
......
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