summaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/vt1211.c
diff options
context:
space:
mode:
authorSylwester Nawrocki2018-04-17 16:29:54 +0200
committerMark Brown2018-04-18 13:37:33 +0200
commit0af7af7da6510f12595b81ba98bb15dd7ffed1f3 (patch)
tree84101deb60b650cd3cfa07d5daac5940111a82f5 /drivers/hwmon/vt1211.c
parentspi: spi-s3c64xx: Use local variable for FIFO length (diff)
downloadkernel-qcow2-linux-0af7af7da6510f12595b81ba98bb15dd7ffed1f3.tar.gz
kernel-qcow2-linux-0af7af7da6510f12595b81ba98bb15dd7ffed1f3.tar.xz
kernel-qcow2-linux-0af7af7da6510f12595b81ba98bb15dd7ffed1f3.zip
spi: spi-s3c64xx: Allow higher transfer lengths in polling IO mode
Some variants of the SPI controller have no DMA support, in such case SPI transfers longer than the FIFO length are not currently properly handled by the driver. Fix it by doing multiple transfers in the s3c64xx_spi_transfer_one() function if the SPI transfer length exceeds the FIFO size. Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com> Reviewed-by: Andi Shyti <andi@etezian.org> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/hwmon/vt1211.c')
0 files changed, 0 insertions, 0 deletions