summaryrefslogtreecommitdiff
path: root/drivers/spi/spi-bitbang.c
diff options
context:
space:
mode:
authorjiada wang <jiada_wang@mentor.com>2017-08-10 07:50:08 +0300
committerMark Brown <broonie@kernel.org>2017-08-17 17:27:13 +0300
commit1673c81d9435bcf758da6ccaa291513e34c1cb82 (patch)
tree5ba1073ddd4c112752292a06a26ef0b440b775f8 /drivers/spi/spi-bitbang.c
parentab2f357223eb8fa6acc96bfa002053b6f1f92341 (diff)
downloadlinux-1673c81d9435bcf758da6ccaa291513e34c1cb82.tar.xz
spi: imx: dynamic burst length adjust for PIO mode
previously burst length (BURST_LENGTH) is always set to equal to bits_per_word, causes a 10us gap between each word in transfer, which significantly affects performance. This patch uses 32 bits transfer to simulate lower bits transfer, and adjusts burst length runtimely to use biggeest burst length as possible to reduce the gaps in transfer for PIO mode. Signed-off-by: Jiada Wang <jiada_wang@mentor.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/spi/spi-bitbang.c')
0 files changed, 0 insertions, 0 deletions