Re: [PATCH v4 6/9] spi: spidev_test: send predictable data
From: Jonas Rebmann
Date: Wed Sep 23 2026 - 05:28:00 EST
On 2026-09-22 13:57, Mark Brown wrote:
On Fri, Sep 18, 2026 at 05:22:52PM +0200, Jonas Rebmann wrote:
From: Marc Kleine-Budde <mkl@xxxxxxxxxxxxxx>
Introduce a flag to test on a predictable byte sequence instead of
random bytes. This is useful when comparing multiple runs with the same
option set e.g. with an oscilloscope.
+ case 'P':
+ predictable = 1;
+ input_choices++;
+ break;
-z doesn't increment input_choices, seems one of them is wrong.
-z requires -S and -S increments input_choices so -z indirectly
conflicts -p, -i (--input), -t (--no-tx) and -P (--predictable)
--
Pengutronix e.K. | Jonas Rebmann |
Steuerwalder Str. 21 | http://www.pengutronix.de/ |
31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-9 |