summaryrefslogtreecommitdiff
path: root/drivers/macintosh/windfarm_rm31.c
diff options
context:
space:
mode:
authorJoachim Fenkes <FENKES@de.ibm.com>2020-07-24 10:15:18 +0300
committerJoel Stanley <joel@jms.id.au>2021-06-04 09:36:57 +0300
commit9ab1428dfe2c66b51e0b41337cd0164da0ab6080 (patch)
tree13adf9f52366febba185ae56dbdc40ab210d09a8 /drivers/macintosh/windfarm_rm31.c
parent95152433e46fdb36652ebdbea442356a16ae1fa6 (diff)
downloadlinux-9ab1428dfe2c66b51e0b41337cd0164da0ab6080.tar.xz
fsi/sbefifo: Fix reset timeout
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: 9f4a8a2d7f9d ("fsi/sbefifo: Add driver for the SBE FIFO") Signed-off-by: Joachim Fenkes <fenkes@de.ibm.com> Link: https://lore.kernel.org/r/20200724071518.430515-3-joel@jms.id.au Signed-off-by: Joel Stanley <joel@jms.id.au>
Diffstat (limited to 'drivers/macintosh/windfarm_rm31.c')
0 files changed, 0 insertions, 0 deletions