提交 fc8773e1 编写于 作者: M Martin Sperl 提交者: Mark Brown

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: NMartin Sperl <kernel@martin.sperl.org>
Signed-off-by: NMark Brown <broonie@kernel.org>
上级 d58b9fda
...@@ -260,7 +260,7 @@ static struct spi_test spi_tests[] = { ...@@ -260,7 +260,7 @@ static struct spi_test spi_tests[] = {
.fill_option = FILL_COUNT_8, .fill_option = FILL_COUNT_8,
.iterate_len = { ITERATE_MAX_LEN }, .iterate_len = { ITERATE_MAX_LEN },
.iterate_tx_align = ITERATE_ALIGN, .iterate_tx_align = ITERATE_ALIGN,
.iterate_transfer_mask = BIT(0), .iterate_transfer_mask = BIT(1),
.transfers = { .transfers = {
{ {
.len = 1, .len = 1,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册