Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fc8773e1 authored by Martin Sperl's avatar Martin Sperl Committed by Mark Brown
Browse files

spi: loopback: match configuration of test to description



The test "two tx+rx transfers - alter second" actually modifies
the first not the second transfer, which - in conjunction with
testing the read data - results also in overwriting data read
earlier.

Signed-off-by: default avatarMartin Sperl <kernel@martin.sperl.org>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent d58b9fda
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -260,7 +260,7 @@ static struct spi_test spi_tests[] = {
		.fill_option	= FILL_COUNT_8,
		.iterate_len    = { ITERATE_MAX_LEN },
		.iterate_tx_align = ITERATE_ALIGN,
		.iterate_transfer_mask = BIT(0),
		.iterate_transfer_mask = BIT(1),
		.transfers		= {
			{
				.len = 1,