mirror of https://gitee.com/openkylin/linux.git
9ab1428dfe
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:
|
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
cf-fsi-fw.h | ||
fsi-core.c | ||
fsi-master-aspeed.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 |