540c40c6bb
[ Upstream commit 9ab1428dfe2c66b51e0b41337cd0164da0ab6080 ]
On BMCs with lower timer resolution than 1ms, msleep(1) will take
way longer than 1ms, so looping 10k times won't wait for 10s but
significantly longer.
Fix this by using jiffies like the rest of the code.
Fixes:
|
||
---|---|---|
.. | ||
cf-fsi-fw.h | ||
fsi-core.c | ||
fsi-master-ast-cf.c | ||
fsi-master-gpio.c | ||
fsi-master-hub.c | ||
fsi-master.h | ||
fsi-occ.c | ||
fsi-sbefifo.c | ||
fsi-scom.c | ||
Kconfig | ||
Makefile |