Thread (36 messages) 36 messages, 5 authors, 2020-10-01

Re: [PATCH v2 8/9] spi: spi-s3c64xx: Increase transfer timeout

From: Krzysztof Kozlowski <krzk@kernel.org>
Date: 2020-08-22 12:44:03
Also in: linux-samsung-soc, linux-spi, lkml

On Fri, Aug 21, 2020 at 06:14:00PM +0200, Łukasz Stelmach wrote:
Increase timeout by 30 ms for some wiggle 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.

Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
---
 drivers/spi/spi-s3c64xx.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
Reviewed-by: Krzysztof Kozlowski <krzk@kernel.org>

Best regards,
Krzysztof

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help