diff options
author | Maxime Chevallier <maxime.chevallier@bootlin.com> | 2018-07-17 16:31:51 +0200 |
---|---|---|
committer | Marcel Ziswiler <marcel.ziswiler@toradex.com> | 2020-03-09 13:43:44 +0100 |
commit | 75a8108d1621c5ef2632d68410feba9a0ca5a0d6 (patch) | |
tree | 0c235c0d55e136329f634839f0378da296c0738c /arch/arm | |
parent | 9a14a1f6284c0a5d3bbbb4ccfea8b6959ca63d83 (diff) |
spi: imx: Use dynamic bursts only when bits_per_word is 8, 16 or 32
commit 2801b2f5fad3d1e9ea0ac8484584051071065645 upstream
The dynamic bursts mode allows to group together multiple words into a
single burst. To do so, it's necessary that words can be packed into the
32-bits FIFO entries, so we can't allow using this mode with bit_per_words
different to 8, 16 or 32.
This prevents shitfing out extra clock ticks for transfers with
bit_per_word values not aligned on 8 bits.
With that , we are sure that only the correct number of bits is
shifted out at each transfer, so we don't need to mask out the remaining
parts of the words.
Related-to: ELB-1418
Signed-off-by: Maxime Chevallier <maxime.chevallier@bootlin.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'arch/arm')
0 files changed, 0 insertions, 0 deletions