summaryrefslogtreecommitdiff
path: root/include/media/si4713.h
diff options
context:
space:
mode:
authorVignesh R <vigneshr@ti.com>2015-10-13 10:21:05 (GMT)
committerMark Brown <broonie@kernel.org>2015-10-16 18:08:06 (GMT)
commit57c2ecd9bf971946ea0c6ae90a79c90a22159c73 (patch)
treea27454ff77f3d5c5e8747d54a5f132ccb7191b47 /include/media/si4713.h
parent6ff33f3902c3b1c5d0db6b1e2c70b6d76fba357f (diff)
downloadlinux-57c2ecd9bf971946ea0c6ae90a79c90a22159c73.tar.xz
spi: spi-ti-qspi: switch to polling mode for better r/w performance
Currently word completion interrupt is fired for transfer of every word(8bit to 128bit in size). This adds a lot of overhead, and decreases r/w throughput. It hardly takes 3us(@48MHz) for 128bit r/w to complete, hence its better to poll on word complete bit to be set in QSPI_SPI_STATUS_REG instead of using interrupts. This increases the throughput by 30% in both read and write case. So, switch to polling mode instead of interrupts to determine completion of word transfer. Signed-off-by: Vignesh R <vigneshr@ti.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/media/si4713.h')
0 files changed, 0 insertions, 0 deletions