Skip to content
Unverified Commit 9fe26adb authored by Łukasz Stelmach's avatar Łukasz Stelmach Committed by Mark Brown
Browse files

spi: spi-s3c64xx: Increase transfer timeout



Increase timeout by 30 ms for some wiggle room and set the minimum value
to 100 ms. This ensures a non-zero value for short transfers which
may take less than 1 ms. The timeout value does not affect
performance because it is used with a completion.

Similar formula is used in other drivers e.g. sun4i, sun6i.

Reviewed-by: default avatarKrzysztof Kozlowski <krzk@kernel.org>
Signed-off-by: default avatarŁukasz Stelmach <l.stelmach@samsung.com>
Link: https://lore.kernel.org/r/20201002122243.26849-9-l.stelmach@samsung.com


Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 20b4016a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment