spi: spi-loopback-test: Allow skipping delays
authorVincent Whitchurch <vincent.whitchurch@axis.com>
Tue, 3 Jan 2023 15:22:10 +0000 (16:22 +0100)
committerMark Brown <broonie@kernel.org>
Tue, 3 Jan 2023 15:25:02 +0000 (15:25 +0000)
commit392af84bddcc96f1546a1ca4ffa71bccce95b897
tree394d45a25d6d1bba5a5b1c7907b84e3300f67004
parentcb0713e620bbe26f7220ca53be8a106969a3a618
spi: spi-loopback-test: Allow skipping delays

A 100 ms delay is inserted between tests by default in order to "detect
the individual tests when using a logic analyzer".  However, such delays
are unnecessary when using this module for automated regression testing,
so allow them to be disabled with a module parameter.

Signed-off-by: Vincent Whitchurch <vincent.whitchurch@axis.com>
Link: https://lore.kernel.org/r/20230103152211.3034779-1-vincent.whitchurch@axis.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-loopback-test.c