diff options
author | Maxime Chevallier <maxime.chevallier@bootlin.com> | 2018-07-17 16:31:51 +0200 |
---|---|---|
committer | Oleksandr Suvorov <oleksandr.suvorov@toradex.com> | 2020-02-11 11:20:48 +0200 |
commit | a48f249cf4ff45198bbb08394bbdf7e280568f76 (patch) | |
tree | b14fa410fed72b76742c7e955511faf317265f8d /arch/arm | |
parent | de7675d607f587513eeff9f2e993bed607543577 (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