Openwrt/target/linux
Hauke Mehrtens 6153248052 lantiq: spi: double time out tolerance
The generic SPI code calculates how long the issued transfer would take
and adds 100ms in addition to the timeout as tolerance. On my 500 MHz
Lantiq Mips SoC I am getting timeouts from the SPI like this when the
system boots up:

m25p80 spi32766.4: SPI transfer timed out
blk_update_request: I/O error, dev mtdblock3, sector 2
SQUASHFS error: squashfs_read_data failed to read block 0x6e

After increasing the tolerance for the timeout to 200ms I haven't seen
these SPI transfer time outs any more.
The Lantiq SPI driver in use here has an extra work queue in between,
which gets triggered when the controller send the last word and the
hardware FIFOs used for reading and writing are only 8 words long.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2017-05-21 21:51:28 +02:00
..
adm5120
adm8668
apm821xx kernel: update kernel 4.9 to 4.9.29 2017-05-21 21:51:22 +02:00
ar7
ar71xx kernel: update kernel 4.4 to version 4.4.69 2017-05-21 21:48:16 +02:00
arc770 kernel: update kernel 4.9 to 4.9.29 2017-05-21 21:51:22 +02:00
archs38 kernel: update kernel 4.9 to 4.9.29 2017-05-21 21:51:22 +02:00
armvirt
at91
ath25
au1000
bcm53xx kernel: update kernel 4.9 to 4.9.29 2017-05-21 21:51:22 +02:00
brcm47xx
brcm63xx
brcm2708 kernel: update kernel 4.9 to 4.9.29 2017-05-21 21:51:22 +02:00
cns3xxx
gemini
generic kernel: update kernel 4.9 to 4.9.29 2017-05-21 21:51:22 +02:00
imx6 kernel: update kernel 4.9 to 4.9.29 2017-05-21 21:51:22 +02:00
ipq806x kernel: update kernel 4.9 to 4.9.29 2017-05-21 21:51:22 +02:00
ixp4xx
kirkwood kirkwood: set sata/usb led trigger for NSA3xx 2017-05-14 21:45:50 +02:00
lantiq lantiq: spi: double time out tolerance 2017-05-21 21:51:28 +02:00
layerscape
malta
mcs814x
mediatek kernel: update kernel 4.9 to 4.9.29 2017-05-21 21:51:22 +02:00
mpc85xx kernel: update kernel 4.9 to 4.9.29 2017-05-21 21:51:22 +02:00
mvebu kernel: update kernel 4.9 to 4.9.29 2017-05-21 21:51:22 +02:00
mxs
octeon
omap
omap24xx
orion
oxnas kernel: update kernel 4.4 to version 4.4.69 2017-05-21 21:48:16 +02:00
pistachio
ppc40x
ppc44x
ramips kernel: update kernel 4.9 to 4.9.29 2017-05-21 21:51:22 +02:00
rb532
sunxi kernel: update kernel 4.4 to version 4.4.69 2017-05-21 21:48:16 +02:00
uml
x86 kernel: update kernel 4.9 to 4.9.29 2017-05-21 21:51:22 +02:00
xburst
zynq
Makefile