openwrtv3/target/linux/lantiq
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
..
base-files lantiq: fix avm fritz box mac addresses 2017-05-05 19:58:49 +02:00
dts lantiq: fix avm fritz box mac addresses 2017-05-05 19:58:49 +02:00
falcon build: remove mips16 feature flag from target makefiles 2017-01-24 13:15:01 +01:00
files/firmware/lantiq move GPHY FW blobs to non versioned folder 2013-03-14 18:42:21 +00:00
image lantiq: add support for the Alpha ASL56026 2017-03-08 19:06:04 +01:00
patches-4.4 kernel: update kernel 4.4 to version 4.4.69 2017-05-21 21:48:16 +02:00
patches-4.9 lantiq: spi: double time out tolerance 2017-05-21 21:51:28 +02:00
xrx200 lantiq: add support for kernel 4.9 2017-02-11 23:44:13 +01:00
xway build: remove mips16 feature flag from target makefiles 2017-01-24 13:15:01 +01:00
xway_legacy build: remove mips16 feature flag from target makefiles 2017-01-24 13:15:01 +01:00
config-4.4 lantiq: add cpu temperatur sensor driver for xrx200 2016-08-03 15:30:13 +02:00
config-4.9 lantiq: add support for kernel 4.9 2017-02-11 23:44:13 +01:00
Makefile lantiq: remove CPU_TYPE:=mips32r2, it gets overwritten anyway 2017-01-24 13:33:45 +01:00
modules.mk fix i2c-lantiq module 2012-12-16 10:03:18 +00:00