openwrt/target/linux
Hauke Mehrtens e5612d6640 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>
(cherry picked from commit 6153248052)
2017-12-13 15:35:07 +01:00
..
adm5120 Mark targets using kernel 3.18 as source-only 2017-02-17 06:58:33 +01:00
adm8668 Mark targets using kernel 3.18 as source-only 2017-02-17 06:58:33 +01:00
apm821xx kernel: update 4.4 to 4.4.86 2017-09-04 14:41:56 +02:00
ar7 ar7: add NULL clock fix send upstream 2017-07-29 09:24:47 +02:00
ar71xx kernel: bump 4.4 to 4.4.103 for 17.01 2017-12-12 11:10:47 +01:00
arc770 arc770: only calculate entry point address when necessary 2017-03-01 20:37:37 +01:00
archs38 archs38: only calculate entry point address when necessary 2017-03-01 20:37:37 +01:00
arm64 Revert "arm64: boot-wrapper: Add mirror" 2016-12-22 21:08:17 +01:00
armvirt armvirt: add kernel config change missing from 0d44f0cb 2017-01-13 11:05:32 +01:00
at91 kernel: remove ubifs xz decompression support 2017-01-09 14:07:06 +01:00
ath25 kernel: backport MIPS changes introducing a separate IRQ stack 2017-01-15 18:25:54 +01:00
au1000 Mark targets using kernel 3.18 as source-only 2017-02-17 06:58:33 +01:00
bcm53xx bcm53xx: suppress osafeloader info error messages during flashing 2017-12-13 14:15:09 +01:00
brcm47xx brcm47xx: fix switch port mapping on D-Link DIR-330 2017-11-16 22:57:06 +01:00
brcm63xx brcm63xx: add NULL clock fix send upstream 2017-07-29 09:24:55 +02:00
brcm2708 kernel: bump 4.4 to 4.4.102 2017-11-26 15:10:36 +01:00
cns3xxx kernel: bump 4.4 to 4.4.103 for 17.01 2017-12-12 11:10:47 +01:00
gemini kernel: bump 4.4 to 4.4.102 2017-11-26 15:10:36 +01:00
generic kernel: move initramfs's init script out of base-files 2017-12-13 15:00:42 +01:00
imx6 kernel: bump 4.4 to 4.4.102 2017-11-26 15:10:36 +01:00
ipq806x kernel: bump 4.4 to 4.4.102 2017-11-26 15:10:36 +01:00
ixp4xx kernel: update 4.4 to 4.4.86 2017-09-04 14:41:56 +02:00
kirkwood kirkwood: fix include in etc/board.d/02_network 2017-03-01 20:37:37 +01:00
lantiq lantiq: spi: double time out tolerance 2017-12-13 15:35:07 +01:00
layerscape kernel: update kernel 4.4 to version 4.4.79 2017-07-28 23:49:35 +02:00
malta malta: mark as source-only to avoid wasting build resources 2017-01-24 13:35:47 +01:00
mcs814x Mark targets using kernel 3.18 as source-only 2017-02-17 06:58:33 +01:00
mediatek kernel: bump 4.4 to 4.4.102 2017-11-26 15:10:36 +01:00
mpc85xx kernel: remove DEVMEM/DEVKMEM platform overrides 2017-01-10 13:48:53 +01:00
mvebu kernel: bump 4.4 to 4.4.102 2017-11-26 15:10:36 +01:00
mxs mxs: remove stale references to obsolete kernel module packages 2017-01-28 20:32:39 +01:00
octeon octeon: only copy sysupgrade file if present 2017-02-15 09:37:15 +01:00
omap omap: build various core drivers into the kernel instead of packaging them 2017-01-10 13:44:26 +01:00
omap24xx kernel: clean up usb gadget support 2016-09-15 13:11:21 +02:00
orion kernel: remove DEVMEM/DEVKMEM platform overrides 2017-01-10 13:48:53 +01:00
oxnas kernel: remove out of tree direct-io disable hack 2017-12-13 12:57:41 +01:00
ppc40x build: fix subtarget descriptions 2016-09-04 13:35:11 +02:00
ppc44x ppc44x: mark as broken 2017-01-10 12:49:34 +01:00
ramips ramips: support jumbo frame on mt7621 up to 2k 2017-12-13 15:33:04 +01:00
rb532 kernel: update kernel 4.4 to version 4.4.79 2017-07-28 23:49:35 +02:00
sunxi kernel: remove out of tree direct-io disable hack 2017-12-13 12:57:41 +01:00
uml uml: mark as source-only 2017-01-24 13:35:47 +01:00
x86 x86: keep /boot mounted for kexec 2017-12-13 15:24:47 +01:00
xburst Mark targets using kernel 3.18 as source-only 2017-02-17 06:58:33 +01:00
zynq kernel: remove out of tree direct-io disable hack 2017-12-13 12:57:41 +01:00
Makefile