Commit c7028245 authored by Oskari Lemmela's avatar Oskari Lemmela Committed by Mark Brown

spi: ar934x: fix transfer and word delays

Add missing delay between transferred messages and words.
Signed-off-by: default avatarOskari Lemmela <oskari@lemmela.net>
Link: https://lore.kernel.org/r/20211222055958.1383233-3-oskari@lemmela.netSigned-off-by: default avatarMark Brown <broonie@kernel.org>
parent 6008cb4c
...@@ -137,8 +137,10 @@ static int ar934x_spi_transfer_one_message(struct spi_controller *master, ...@@ -137,8 +137,10 @@ static int ar934x_spi_transfer_one_message(struct spi_controller *master,
reg >>= 8; reg >>= 8;
} }
} }
spi_delay_exec(&t->word_delay, t);
} }
m->actual_length += t->len; m->actual_length += t->len;
spi_transfer_delay_exec(t);
} }
msg_done: msg_done:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment