android_kernel_xiaomi_sm7250/drivers/fsi
Joachim Fenkes d815623864 fsi/sbefifo: Fix reset timeout
[ 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: 9f4a8a2d7f ("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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-07-20 16:15:55 +02:00
..
cf-fsi-fw.h
fsi-core.c
fsi-master-ast-cf.c
fsi-master-gpio.c
fsi-master-hub.c
fsi-master.h
fsi-sbefifo.c fsi/sbefifo: Fix reset timeout 2021-07-20 16:15:55 +02:00
fsi-scom.c
Kconfig
Makefile