linux/drivers/fsi
Joachim Fenkes 3886a5e6bb fsi/sbefifo: Fix reset timeout
[ Upstream commit 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: 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>
History 2021-07-14 17:07:34 +02:00
..
cf-fsi-fw.h fsi: cf-fsi-fw: Use the correct style for SPDX License Identifier 2019-06-19 19:35:51 +02:00
fsi-core.c fsi: core: Fix return of error values on failures 2021-07-14 17:07:34 +02:00
fsi-master-aspeed.c fsi: Aspeed: Add mutex to protect HW access 2020-12-09 19:52:25 +01:00
fsi-master-ast-cf.c fsi: master: Add boolean parameter to link_enable function 2020-09-10 12:22:47 +09:30
fsi-master-gpio.c fsi: master: Add boolean parameter to link_enable function 2020-09-10 12:22:47 +09:30
fsi-master-hub.c fsi: master: Constify hub_master_ids 2020-09-10 12:22:50 +09:30
fsi-master.h fsi: master: Add boolean parameter to link_enable function 2020-09-10 12:22:47 +09:30
fsi-occ.c fsi: occ: Don't accept response from un-initialized OCC 2021-07-14 17:07:34 +02:00
fsi-sbefifo.c fsi/sbefifo: Fix reset timeout 2021-07-14 17:07:34 +02:00
fsi-scom.c fsi: scom: Reset the FSI2PIB engine for any error 2021-07-14 17:07:34 +02:00
Kconfig treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
Makefile fsi: Add ast2600 master driver 2019-11-08 11:28:20 +01:00