diff options
author | Jiada Wang <jiada_wang@mentor.com> | 2017-05-01 03:31:44 -0700 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2017-05-14 19:06:33 +0900 |
commit | 8d4a6cad7adb3ddac32cd52635f20e11de11a658 (patch) | |
tree | 74b539d8170215d137dd085a83595800d92cffce /drivers/spi/spi-pl022.c | |
parent | 2ea659a9ef488125eb46da6eb571de5eae5c43f6 (diff) | |
download | op-kernel-dev-8d4a6cad7adb3ddac32cd52635f20e11de11a658.zip op-kernel-dev-8d4a6cad7adb3ddac32cd52635f20e11de11a658.tar.gz |
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-pl022.c')
0 files changed, 0 insertions, 0 deletions